From 35d978c2fca0b4ae7961e44a3a9e1a4f77fad6dc Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 20 May 2021 12:13:04 +0200 Subject: Rename External storages to External storage Signed-off-by: szaimen --- apps/workflowengine/lib/Check/FileName.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/workflowengine/lib/Check') 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; -- cgit v1.2.3