aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-12-18 23:01:49 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-12-18 23:01:49 +0100
commit49318b4d93b4dc5fbd58fa87b2efa8f1577fb7b7 (patch)
treee5e909e5482f77eb0965f174cf3c32108f0270dd /apps/files_trashbin
parent5327b8043019ec8f0cfe19d70794978570bba4bc (diff)
parentd41082f4d625ae5aa053e6f038fa498517e45ef0 (diff)
downloadnextcloud-server-49318b4d93b4dc5fbd58fa87b2efa8f1577fb7b7.tar.gz
nextcloud-server-49318b4d93b4dc5fbd58fa87b2efa8f1577fb7b7.zip
Merge pull request #12896 from owncloud/drop-deprecated
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;
}