diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-13 01:58:53 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-13 01:59:05 +0200 |
commit | 1d8fdf52d52f4a73cb0a59b5d2c3a088ae1e9247 (patch) | |
tree | 09eedd220c847d587639567219194b92d39fa2f2 /lib/group/database.php | |
parent | e9c1f8b4e650052eee33de6e1b4e29715e41cdf0 (diff) | |
download | nextcloud-server-1d8fdf52d52f4a73cb0a59b5d2c3a088ae1e9247.tar.gz nextcloud-server-1d8fdf52d52f4a73cb0a59b5d2c3a088ae1e9247.zip |
allow multiply group backends
Diffstat (limited to 'lib/group/database.php')
-rw-r--r-- | lib/group/database.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/group/database.php b/lib/group/database.php index 1afd4b5fe4c..d401acf43b3 100644 --- a/lib/group/database.php +++ b/lib/group/database.php @@ -117,8 +117,10 @@ class OC_Group_Database extends OC_Group_Backend { if( !self::inGroup( $uid, $gid )){ $query = OC_DB::prepare( "INSERT INTO `*PREFIX*group_user` ( `uid`, `gid` ) VALUES( ?, ? )" ); $result = $query->execute( array( $uid, $gid )); + return true; + }else{ + return false; } - return true; } /** |