diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-28 00:13:54 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-28 00:13:54 +0200 |
commit | f03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044 (patch) | |
tree | fab5d32356514e75ca2bdda3a919464166c9b9b1 | |
parent | 4e2cdb2f8af807767a978a175ef5415cd3d651eb (diff) | |
download | nextcloud-server-f03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044.tar.gz nextcloud-server-f03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044.zip |
remove legacy OC_Filesystem being used in a hook callback
-rw-r--r-- | lib/base.php | 4 |
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'); } /** |