summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Helper.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-11-14 09:34:14 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-12-19 16:18:51 +0100
commit9473ab5c19c8c7430474df6359983706680f175b (patch)
tree32072886e1dc3b3cb082e300a795ee652164e371 /apps/files_sharing/lib/Helper.php
parent2ae15ad37b77b1bba7ddc3a73d5d9444089839ee (diff)
downloadnextcloud-server-9473ab5c19c8c7430474df6359983706680f175b.tar.gz
nextcloud-server-9473ab5c19c8c7430474df6359983706680f175b.zip
Remove config change hook that deletes link shares (#26612)
Seems broken. But also if link shares are not allowed, the link shares will continue to exist but will be denied. A future cleanup could be done through a background job. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/files_sharing/lib/Helper.php')
-rw-r--r--apps/files_sharing/lib/Helper.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Helper.php b/apps/files_sharing/lib/Helper.php
index 5ba65ea1317..a659da9292f 100644
--- a/apps/files_sharing/lib/Helper.php
+++ b/apps/files_sharing/lib/Helper.php
@@ -39,7 +39,6 @@ class Helper {
public static function registerHooks() {
\OCP\Util::connectHook('OC_Filesystem', 'post_rename', '\OCA\Files_Sharing\Updater', 'renameHook');
\OCP\Util::connectHook('OC_Filesystem', 'post_delete', '\OCA\Files_Sharing\Hooks', 'unshareChildren');
- \OCP\Util::connectHook('OC_Appconfig', 'post_set_value', '\OCA\Files_Sharing\Maintainer', 'configChangeHook');
\OCP\Util::connectHook('OC_User', 'post_deleteUser', '\OCA\Files_Sharing\Hooks', 'deleteUser');
}