summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-17 11:12:37 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-17 11:12:37 +0100
commitd41082f4d625ae5aa053e6f038fa498517e45ef0 (patch)
tree5d8dd7c9e8699daa4a7dbf57fa2fe57bc444a83f /apps/files_trashbin
parent5b9c453071fe900529cd26b88fbc681d8b153b43 (diff)
downloadnextcloud-server-d41082f4d625ae5aa053e6f038fa498517e45ef0.tar.gz
nextcloud-server-d41082f4d625ae5aa053e6f038fa498517e45ef0.zip
first step to drop \OCP\Config:: in favour of IConfig
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/lib/trashbin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php
index 1e8f31dbd2a..952af56bacc 100644
--- a/apps/files_trashbin/lib/trashbin.php
+++ b/apps/files_trashbin/lib/trashbin.php
@@ -874,7 +874,7 @@ class Trashbin {
* @return integer size of the folder
*/
private static function calculateSize($view) {
- $root = \OCP\Config::getSystemValue('datadirectory') . $view->getAbsolutePath('');
+ $root = \OC::$server->getConfig()->getSystemValue('datadirectory') . $view->getAbsolutePath('');
if (!file_exists($root)) {
return 0;
}