owncloud/core — pull request #7872 by PVince81 (2014-03-25 10:01:51+00:00)
Title: Do not retrieve storage stats for trash bin

When navigating into a subfolder inside the trashbin, a warning appeared in the log:
```
PHP Fatal error: Call to a member function getStorage() on a non-object in /srv/www/htdocs/owncloud/lib/private/helper.php on line 890, referer: http://localhost/owncloud/index.php/apps/files_trashbin?dir=/a.d1395136424
```

This is because the "updateStorageStats" function was still called and tried to retrieve the free space, etc for the trashbin folder, which doesn't make sense.

This prevents the call to happen.

Please review @karlitschek @schiesbn @icewind1991