revert changes
This commit is contained in:
parent
2b0bf4dc87
commit
d7dc710c8b
|
@ -1541,8 +1541,6 @@ class Share {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function post_addToGroup($arguments) {
|
public static function post_addToGroup($arguments) {
|
||||||
|
|
||||||
if(\OC_Config::getValue('installed')) {
|
|
||||||
// Find the group shares and check if the user needs a unique target
|
// Find the group shares and check if the user needs a unique target
|
||||||
$query = \OC_DB::prepare('SELECT * FROM `*PREFIX*share` WHERE `share_type` = ? AND `share_with` = ?');
|
$query = \OC_DB::prepare('SELECT * FROM `*PREFIX*share` WHERE `share_type` = ? AND `share_with` = ?');
|
||||||
$result = $query->execute(array(self::SHARE_TYPE_GROUP, $arguments['gid']));
|
$result = $query->execute(array(self::SHARE_TYPE_GROUP, $arguments['gid']));
|
||||||
|
@ -1571,7 +1569,6 @@ class Share {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public static function post_removeFromGroup($arguments) {
|
public static function post_removeFromGroup($arguments) {
|
||||||
// TODO Don't call if user deleted?
|
// TODO Don't call if user deleted?
|
||||||
|
|
Loading…
Reference in New Issue