@@ -410,7 +410,7 @@ |
||
| 410 | 410 | * @return IShare[] |
| 411 | 411 | */ |
| 412 | 412 | public function getSharedWith($userId, $shareType, $node, $limit, $offset) { |
| 413 | - $this->misc->log("CircleProvider: getSharedWith " . $userId . ' ' . $shareType); |
|
| 413 | + $this->misc->log("CircleProvider: getSharedWith ".$userId.' '.$shareType); |
|
| 414 | 414 | |
| 415 | 415 | $qb = $this->getCompleteSelectSql(); |
| 416 | 416 | $this->linkToMember($qb, $userId); |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | $qb->andWhere( |
| 75 | 75 | $qb->expr() |
| 76 | - ->eq($pf . 'share_with', $qb->createNamedParameter($circleId)) |
|
| 76 | + ->eq($pf.'share_with', $qb->createNamedParameter($circleId)) |
|
| 77 | 77 | ); |
| 78 | 78 | } |
| 79 | 79 | |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | $pf = ($qb->getType() === QueryBuilder::SELECT) ? 's.' : ''; |
| 90 | 90 | |
| 91 | 91 | $qb->andWhere( |
| 92 | - $expr->eq($pf . 'id', $qb->createNamedParameter($shareId)) |
|
| 92 | + $expr->eq($pf.'id', $qb->createNamedParameter($shareId)) |
|
| 93 | 93 | ); |
| 94 | 94 | } |
| 95 | 95 | |
@@ -138,8 +138,8 @@ discard block |
||
| 138 | 138 | |
| 139 | 139 | $qb->andWhere( |
| 140 | 140 | $expr->orX( |
| 141 | - $expr->eq($pf . 'parent', $qb->createNamedParameter($circleId)), |
|
| 142 | - $expr->eq($pf . 'id', $qb->createNamedParameter($circleId)) |
|
| 141 | + $expr->eq($pf.'parent', $qb->createNamedParameter($circleId)), |
|
| 142 | + $expr->eq($pf.'id', $qb->createNamedParameter($circleId)) |
|
| 143 | 143 | ) |
| 144 | 144 | ); |
| 145 | 145 | } |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | |
| 157 | 157 | $qb->andWhere( |
| 158 | 158 | $qb->expr() |
| 159 | - ->eq($pf . 'file_source', $qb->createNamedParameter($fileId)) |
|
| 159 | + ->eq($pf.'file_source', $qb->createNamedParameter($fileId)) |
|
| 160 | 160 | ); |
| 161 | 161 | } |
| 162 | 162 | |
@@ -181,12 +181,12 @@ discard block |
||
| 181 | 181 | $pf = ($qb->getType() === QueryBuilder::SELECT) ? 's.' : ''; |
| 182 | 182 | |
| 183 | 183 | if ($reShares === false) { |
| 184 | - $qb->andWhere($expr->eq($pf . 'uid_initiator', $qb->createNamedParameter($userId))); |
|
| 184 | + $qb->andWhere($expr->eq($pf.'uid_initiator', $qb->createNamedParameter($userId))); |
|
| 185 | 185 | } else { |
| 186 | 186 | $qb->andWhere( |
| 187 | 187 | $expr->orX( |
| 188 | - $expr->eq($pf . 'uid_owner', $qb->createNamedParameter($userId)), |
|
| 189 | - $expr->eq($pf . 'uid_initiator', $qb->createNamedParameter($userId)) |
|
| 188 | + $expr->eq($pf.'uid_owner', $qb->createNamedParameter($userId)), |
|
| 189 | + $expr->eq($pf.'uid_initiator', $qb->createNamedParameter($userId)) |
|
| 190 | 190 | ) |
| 191 | 191 | ); |
| 192 | 192 | } |