summaryrefslogtreecommitdiffstats
path: root/lib/private/Group
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:07:47 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:07:47 +0200
commit44577e4345066952622feca9ef69c24fc23d08ab (patch)
tree362160e9a6cf5c55eb1a2cca5aa32fb3bac336ad /lib/private/Group
parent42625a46be495ea1c60ac8fe8e13946fd9ed9732 (diff)
downloadnextcloud-server-44577e4345066952622feca9ef69c24fc23d08ab.tar.gz
nextcloud-server-44577e4345066952622feca9ef69c24fc23d08ab.zip
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Group')
-rw-r--r--lib/private/Group/Database.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Group/Database.php b/lib/private/Group/Database.php
index ba023d64acb..99654b5d1f2 100644
--- a/lib/private/Group/Database.php
+++ b/lib/private/Group/Database.php
@@ -194,7 +194,7 @@ class Database extends ABackend
$this->fixDI();
// No duplicate entries!
- if( !$this->inGroup( $uid, $gid )) {
+ if(!$this->inGroup($uid, $gid)) {
$qb = $this->dbConn->getQueryBuilder();
$qb->insert('group_user')
->setValue('uid', $qb->createNamedParameter($uid))
@@ -250,7 +250,7 @@ class Database extends ABackend
->execute();
$groups = [];
- while( $row = $cursor->fetch()) {
+ while($row = $cursor->fetch()) {
$groups[] = $row['gid'];
$this->groupCache[$row['gid']] = $row['gid'];
}