Skip to content

Commit

Permalink
Remove config change hook that deletes link shares
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Vincent Petry committed Nov 11, 2016
1 parent b948cdd commit 0b07d32
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
1 change: 0 additions & 1 deletion apps/files_sharing/lib/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down
46 changes: 0 additions & 46 deletions apps/files_sharing/lib/Maintainer.php

This file was deleted.

0 comments on commit 0b07d32

Please sign in to comment.