diff options
Diffstat (limited to 'lib/private/share/hooks.php')
-rw-r--r-- | lib/private/share/hooks.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/private/share/hooks.php b/lib/private/share/hooks.php index 999efc7ca70..5faf81c5e9b 100644 --- a/lib/private/share/hooks.php +++ b/lib/private/share/hooks.php @@ -43,17 +43,4 @@ class Hooks extends \OC\Share\Constants { } } } - - /** - * Function that is called after a group is removed. Cleans up the shares to that group. - * @param array $arguments - */ - public static function post_deleteGroup($arguments) { - $sql = 'SELECT `id` FROM `*PREFIX*share` WHERE `share_type` = ? AND `share_with` = ?'; - $result = \OC_DB::executeAudited($sql, array(self::SHARE_TYPE_GROUP, $arguments['gid'])); - while ($item = $result->fetchRow()) { - Helper::delete($item['id']); - } - } - } |