remove legacy OC_Filesystem being used in a hook callback
This commit is contained in:
parent
4e2cdb2f8a
commit
f03a3d9d05
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue