diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-18 16:17:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-18 16:35:19 +0200 |
commit | ccf47f40aac167f25b7537b3819b99d6c59bc92e (patch) | |
tree | 3d6529319d53f269241c00d5ef5a15dc57aa91f8 /lib/private/share/hooks.php | |
parent | 8cb0d97b1099561d7f9a059f3ba8105a2c719aab (diff) | |
download | nextcloud-server-ccf47f40aac167f25b7537b3819b99d6c59bc92e.tar.gz nextcloud-server-ccf47f40aac167f25b7537b3819b99d6c59bc92e.zip |
Remove unused variables
* should make scrutinizer a lot more happy
* reduces maybe memory footprint
Diffstat (limited to 'lib/private/share/hooks.php')
-rw-r--r-- | lib/private/share/hooks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/hooks.php b/lib/private/share/hooks.php index 968a2d5c19b..6eff4cc246f 100644 --- a/lib/private/share/hooks.php +++ b/lib/private/share/hooks.php @@ -32,7 +32,7 @@ class Hooks extends \OC\Share\Constants { // Delete any items shared with the deleted user $query = \OC_DB::prepare('DELETE FROM `*PREFIX*share`' .' WHERE `share_with` = ? AND `share_type` = ? OR `share_type` = ?'); - $result = $query->execute(array($arguments['uid'], self::SHARE_TYPE_USER, self::$shareTypeGroupUserUnique)); + $query->execute(array($arguments['uid'], self::SHARE_TYPE_USER, self::$shareTypeGroupUserUnique)); // Delete any items the deleted user shared $query = \OC_DB::prepare('SELECT `id` FROM `*PREFIX*share` WHERE `uid_owner` = ?'); $result = $query->execute(array($arguments['uid'])); |