Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/stable15' into stable15
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtificialOwl committed Feb 2, 2019
2 parents feb9735 + 3da906f commit 0b3f57f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/Service/FilesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ private function initFileSystems(string $userId) {
return;
}

if ($this->userManager->get($userId) === null) {
return;
}

$this->externalFilesService->initExternalFilesForUser($userId);
$this->groupFoldersService->initGroupSharesForUser($userId);
}
Expand Down
4 changes: 2 additions & 2 deletions lib/Service/LocalFilesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ public function __construct(
* @throws KnownFileSourceException
*/
public function getFileSource(Node $file, string &$source) {
if ($file->getMountPoint()
->getMountType() !== '') {
$mountType = $file->getMountPoint()->getMountType();
if ($mountType !== '' && $mountType !== 'shared') {
return;
}

Expand Down

0 comments on commit 0b3f57f

Please sign in to comment.