summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-06-14 18:31:38 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-06-14 18:33:00 +0200
commitb025ff8de397a7ee76118dbe6860fe957252b830 (patch)
treeb545fbc0ff1b2540173db048e258daae46473d92 /apps/files_sharing/appinfo
parent3b58c7a4070c8098d80b4a2d8c9c50bfbeffdcb9 (diff)
downloadnextcloud-server-b025ff8de397a7ee76118dbe6860fe957252b830.tar.gz
nextcloud-server-b025ff8de397a7ee76118dbe6860fe957252b830.zip
reverting 8c7fa15aaf98e31646e4306e7819d1d2b725a7e1, differs between OC3 and 4
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/app.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index b59c90b8774..ea3a9da6f7a 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -8,8 +8,8 @@ OCP\Util::connectHook("OC_Filesystem", "post_delete", "OC_Share", "deleteItem");
OCP\Util::connectHook("OC_Filesystem", "post_rename", "OC_Share", "renameItem");
OCP\Util::connectHook("OC_Filesystem", "post_write", "OC_Share", "updateItem");
OCP\Util::connectHook('OC_User', 'post_deleteUser', 'OC_Share', 'removeUser');
-OCP\Util::connectHook('OC_Group', 'post_addToGroup', 'OC_Share', 'addToGroupShare');
-OCP\Util::connectHook('OC_Group', 'post_removeFromGroup', 'OC_Share', 'removeFromGroupShare');
+OCP\Util::connectHook('OC_User', 'post_addToGroup', 'OC_Share', 'addToGroupShare');
+OCP\Util::connectHook('OC_User', 'post_removeFromGroup', 'OC_Share', 'removeFromGroupShare');
$dir = isset($_GET['dir']) ? $_GET['dir'] : '/';
if ($dir != '/Shared' || OCP\Config::getAppValue('files_sharing', 'resharing', 'yes') == 'yes') {
OCP\Util::addscript("files_sharing", "share");