| @@ -210,7 +210,7 @@ | ||
| 210 | 210 | $cursor->closeCursor(); | 
| 211 | 211 | |
| 212 | 212 |  		if ($data === false) { | 
| 213 | -			throw new CircleDoesNotExistException($this->l10n->t('Team not found ' . $circleUniqueId)); | |
| 213 | +			throw new CircleDoesNotExistException($this->l10n->t('Team not found '.$circleUniqueId)); | |
| 214 | 214 | } | 
| 215 | 215 | |
| 216 | 216 | $circle = $this->parseCirclesSelectSql($data); | 
| @@ -447,7 +447,7 @@ discard block | ||
| 447 | 447 |  			$l10n = \OCP\Server::get(IFactory::class)->get('circles'); | 
| 448 | 448 |  			$display = $l10n->t('%s (Team owned by %s)', [$display, $circle->getOwner()->getDisplayName()]); | 
| 449 | 449 |  		} else { | 
| 450 | -			$display .= ' (' . Circle::$DEF_SOURCE[$circle->getSource()] . ')'; | |
| 450 | +			$display .= ' ('.Circle::$DEF_SOURCE[$circle->getSource()].')'; | |
| 451 | 451 | } | 
| 452 | 452 | |
| 453 | 453 | $share->setSharedWithDisplayName($display); | 
| @@ -551,20 +551,20 @@ discard block | ||
| 551 | 551 | |
| 552 | 552 |  	public function importFromDatabase(array $data, string $prefix = ''): IQueryRow { | 
| 553 | 553 | $shareTime = new DateTime(); | 
| 554 | - $shareTime->setTimestamp($this->getInt($prefix . 'stime', $data)); | |
| 555 | - | |
| 556 | - $this->setId($this->get($prefix . 'id', $data)) | |
| 557 | - ->setShareType($this->getInt($prefix . 'share_type', $data)) | |
| 558 | - ->setPermissions($this->getInt($prefix . 'permissions', $data)) | |
| 559 | - ->setItemType($this->get($prefix . 'item_type', $data)) | |
| 560 | - ->setItemSource($this->getInt($prefix . 'item_source', $data)) | |
| 561 | - ->setItemTarget($this->get($prefix . 'item_target', $data)) | |
| 562 | - ->setFileSource($this->getInt($prefix . 'file_source', $data)) | |
| 563 | - ->setFileTarget($this->get($prefix . 'file_target', $data)) | |
| 564 | - ->setSharedWith($this->get($prefix . 'share_with', $data)) | |
| 565 | - ->setSharedBy($this->get($prefix . 'uid_initiator', $data)) | |
| 566 | - ->setShareOwner($this->get($prefix . 'uid_owner', $data)) | |
| 567 | - ->setToken($this->get($prefix . 'token', $data)) | |
| 554 | + $shareTime->setTimestamp($this->getInt($prefix.'stime', $data)); | |
| 555 | + | |
| 556 | + $this->setId($this->get($prefix.'id', $data)) | |
| 557 | + ->setShareType($this->getInt($prefix.'share_type', $data)) | |
| 558 | + ->setPermissions($this->getInt($prefix.'permissions', $data)) | |
| 559 | + ->setItemType($this->get($prefix.'item_type', $data)) | |
| 560 | + ->setItemSource($this->getInt($prefix.'item_source', $data)) | |
| 561 | + ->setItemTarget($this->get($prefix.'item_target', $data)) | |
| 562 | + ->setFileSource($this->getInt($prefix.'file_source', $data)) | |
| 563 | + ->setFileTarget($this->get($prefix.'file_target', $data)) | |
| 564 | + ->setSharedWith($this->get($prefix.'share_with', $data)) | |
| 565 | + ->setSharedBy($this->get($prefix.'uid_initiator', $data)) | |
| 566 | + ->setShareOwner($this->get($prefix.'uid_owner', $data)) | |
| 567 | + ->setToken($this->get($prefix.'token', $data)) | |
| 568 | 568 | ->setShareTime($shareTime); | 
| 569 | 569 | |
| 570 | 570 |  		$this->importAttributesFromDatabase($this->get('attributes', $data)); | 
| @@ -575,9 +575,9 @@ discard block | ||
| 575 | 575 |  //			$share->setPassword($this->get('password', $data, '')); | 
| 576 | 576 | // } | 
| 577 | 577 | |
| 578 | - $this->setChildId($this->getInt($prefix . 'child_id', $data)) | |
| 579 | - ->setChildFileTarget($this->get($prefix . 'child_file_target', $data)) | |
| 580 | - ->setChildPermissions($this->getInt($prefix . 'child_permissions', $data)) | |
| 578 | + $this->setChildId($this->getInt($prefix.'child_id', $data)) | |
| 579 | + ->setChildFileTarget($this->get($prefix.'child_file_target', $data)) | |
| 580 | + ->setChildPermissions($this->getInt($prefix.'child_permissions', $data)) | |
| 581 | 581 | ->setProviderId(ShareByCircleProvider::IDENTIFIER) | 
| 582 | 582 | ->setStatus(Ishare::STATUS_ACCEPTED); | 
| 583 | 583 | |