diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-05-21 11:09:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 11:09:52 +0200 |
commit | b2c2f32968ea9fcf3c28a35bc31c78e4d2caae08 (patch) | |
tree | 6fc3c5f361f2aaae9f133ff19437fbbed81f296e /apps/workflowengine/lib/Check | |
parent | a6cb2973a973565e2450b8bb7912257e5e22cde2 (diff) | |
parent | 35d978c2fca0b4ae7961e44a3a9e1a4f77fad6dc (diff) | |
download | nextcloud-server-b2c2f32968ea9fcf3c28a35bc31c78e4d2caae08.tar.gz nextcloud-server-b2c2f32968ea9fcf3c28a35bc31c78e4d2caae08.zip |
Merge pull request #27039 from nextcloud/fix/2973/rename-external-storages
Rename External storages to External storage
Diffstat (limited to 'apps/workflowengine/lib/Check')
-rw-r--r-- | apps/workflowengine/lib/Check/FileName.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Check/FileName.php b/apps/workflowengine/lib/Check/FileName.php index 9a564f85f63..b2442410af4 100644 --- a/apps/workflowengine/lib/Check/FileName.php +++ b/apps/workflowengine/lib/Check/FileName.php @@ -54,7 +54,7 @@ class FileName extends AbstractStringCheck implements IFileCheck { protected function getActualValue(): string { $fileName = $this->path === null ? '' : basename($this->path); if ($fileName === '' && (!$this->storage->isLocal() || $this->storage->instanceOfStorage(Local::class))) { - // Return the mountpoint name of external storages that are not mounted as user home + // Return the mountpoint name of external storage that are not mounted as user home $mountPoints = $this->mountManager->findByStorageId($this->storage->getId()); if (empty($mountPoints) || $mountPoints[0]->getMountType() !== 'external') { return $fileName; |