summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-05-28 10:57:54 +0200
committerVincent Petry <pvince81@owncloud.com>2014-05-28 10:57:54 +0200
commit09645b92218075a984277c7f081fb4caa5b3c09b (patch)
tree022ef934ef7ddc8ce691d678296713f0f20e4327
parentde1f7c96009cafbc513612a6a33df9d9d684fcf5 (diff)
parentf03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044 (diff)
downloadnextcloud-server-09645b92218075a984277c7f081fb4caa5b3c09b.tar.gz
nextcloud-server-09645b92218075a984277c7f081fb4caa5b3c09b.zip
Merge pull request #8755 from owncloud/fix-8737-master
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');
}
/**