revert changes

This commit is contained in:
Florin Peter 2013-05-17 01:17:55 +02:00
parent 2b0bf4dc87
commit d7dc710c8b
1 changed files with 25 additions and 28 deletions

View File

@ -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?