diff options
Diffstat (limited to 'apps/gallery/lib/scanner.php')
-rwxr-xr-x | apps/gallery/lib/scanner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/lib/scanner.php b/apps/gallery/lib/scanner.php index 11c7541a75f..7a137cb3f50 100755 --- a/apps/gallery/lib/scanner.php +++ b/apps/gallery/lib/scanner.php @@ -24,7 +24,7 @@ class OC_Gallery_Scanner { public static function getGalleryRoot() { - return OC_Preferences::getValue(OCP\USER::getUser(), 'gallery', 'root', '/'); + return OCP\Config::getUserValue(OCP\USER::getUser(), 'gallery', 'root', '/'); } public static function getScanningRoot() { return OC_Filesystem::getRoot().self::getGalleryRoot(); |