aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-09-26 21:07:08 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-09-26 21:07:08 +0200
commit9b7ef2962eca5db6df9f9d1a7af73ba477d61a1f (patch)
treee92f97326c58f5b8b63b5e39a1ea3f36efa31be8 /lib/base.php
parent8eb03e712aedc7c768c1d827732b957100eb22c3 (diff)
downloadnextcloud-server-9b7ef2962eca5db6df9f9d1a7af73ba477d61a1f.tar.gz
nextcloud-server-9b7ef2962eca5db6df9f9d1a7af73ba477d61a1f.zip
remove listeners to OC_Filesystem::(write|rename) old style hooks
- the events are not emitted anymore - OC_Filesystem::isBlacklisted() is not called from anywhere else Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php10
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) {