mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
remove legacy OC_Filesystem being used in a hook callback
This commit is contained in:
parent
4e2cdb2f8a
commit
f03a3d9d05
1 changed files with 2 additions and 2 deletions
|
|
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue