diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/base.php b/lib/base.php index 055cc6786f0..7c6ffe8ae61 100644 --- a/lib/base.php +++ b/lib/base.php @@ -745,7 +745,6 @@ class OC { } self::registerCleanupHooks($systemConfig); - self::registerFilesystemHooks(); self::registerShareHooks($systemConfig); self::registerEncryptionWrapperAndHooks(); self::registerAccountHooks(); @@ -918,15 +917,6 @@ class OC { } /** - * register hooks for the filesystem - */ - public static function registerFilesystemHooks() { - // Check for blacklisted files - OC_Hook::connect('OC_Filesystem', 'write', Filesystem::class, 'isBlacklisted'); - OC_Hook::connect('OC_Filesystem', 'rename', Filesystem::class, 'isBlacklisted'); - } - - /** * register hooks for sharing */ public static function registerShareHooks(\OC\SystemConfig $systemConfig) { |