Skip to content
Snippets Groups Projects
Commit f03a3d9d authored by Thomas Müller's avatar Thomas Müller
Browse files

remove legacy OC_Filesystem being used in a hook callback

parent 4e2cdb2f
Branches
No related tags found
No related merge requests found
...@@ -637,8 +637,8 @@ class OC { ...@@ -637,8 +637,8 @@ class OC {
*/ */
public static function registerFilesystemHooks() { public static function registerFilesystemHooks() {
// Check for blacklisted files // Check for blacklisted files
OC_Hook::connect('OC_Filesystem', 'write', 'OC_Filesystem', 'isBlacklisted'); OC_Hook::connect('OC_Filesystem', 'write', 'OC\Files\Filesystem', 'isBlacklisted');
OC_Hook::connect('OC_Filesystem', 'rename', 'OC_Filesystem', 'isBlacklisted'); OC_Hook::connect('OC_Filesystem', 'rename', 'OC\Files\Filesystem', 'isBlacklisted');
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment