summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-28 00:13:54 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-28 00:13:54 +0200
commitf03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044 (patch)
treefab5d32356514e75ca2bdda3a919464166c9b9b1
parent4e2cdb2f8af807767a978a175ef5415cd3d651eb (diff)
downloadnextcloud-server-f03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044.tar.gz
nextcloud-server-f03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044.zip
remove legacy OC_Filesystem being used in a hook callback
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index a022b9d005b..a93f1caded4 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -637,8 +637,8 @@ class OC {
*/
public static function registerFilesystemHooks() {
// Check for blacklisted files
- OC_Hook::connect('OC_Filesystem', 'write', 'OC_Filesystem', 'isBlacklisted');
- OC_Hook::connect('OC_Filesystem', 'rename', 'OC_Filesystem', 'isBlacklisted');
+ OC_Hook::connect('OC_Filesystem', 'write', 'OC\Files\Filesystem', 'isBlacklisted');
+ OC_Hook::connect('OC_Filesystem', 'rename', 'OC\Files\Filesystem', 'isBlacklisted');
}
/**