diff options
author | Björn Schießle <bjoern@schiessle.org> | 2017-04-12 10:54:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-12 10:54:20 +0200 |
commit | 49d8716eaafc0e7496d5406f36c2fce0964169b4 (patch) | |
tree | e8bb65df772195da634abc873aeb8e711d8e8b12 /apps/files_external/lib | |
parent | 39468f627fd6217199c0cc05b4fa248b14046079 (diff) | |
parent | 1729e4471f41e560f78f6b7269bcdb73e24602d5 (diff) | |
download | nextcloud-server-49d8716eaafc0e7496d5406f36c2fce0964169b4.tar.gz nextcloud-server-49d8716eaafc0e7496d5406f36c2fce0964169b4.zip |
Merge pull request #4312 from nextcloud/cleanup-name
Update comments to Nextcloud
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/Google.php | 4 | ||||
-rw-r--r-- | apps/files_external/lib/Lib/Storage/OwnCloud.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/lib/Lib/Storage/Google.php b/apps/files_external/lib/Lib/Storage/Google.php index b22b0c29263..2211686055e 100644 --- a/apps/files_external/lib/Lib/Storage/Google.php +++ b/apps/files_external/lib/Lib/Storage/Google.php @@ -126,7 +126,7 @@ class Google extends \OC\Files\Storage\Common { $q = "title='" . str_replace("'","\\'", $name) . "' and '" . str_replace("'","\\'", $parentId) . "' in parents and trashed = false"; $result = $this->service->files->listFiles(array('q' => $q))->getItems(); if (!empty($result)) { - // Google Drive allows files with the same name, ownCloud doesn't + // Google Drive allows files with the same name, Nextcloud doesn't if (count($result) > 1) { $this->onDuplicateFileDetected($path); return false; @@ -294,7 +294,7 @@ class Google extends \OC\Files\Storage\Common { } else { $filepath = $path.'/'.$name; } - // Google Drive allows files with the same name, ownCloud doesn't + // Google Drive allows files with the same name, Nextcloud doesn't // Prevent opendir() from returning any duplicate files $key = array_search($name, $files); if ($key !== false || isset($duplicates[$filepath])) { diff --git a/apps/files_external/lib/Lib/Storage/OwnCloud.php b/apps/files_external/lib/Lib/Storage/OwnCloud.php index 427b55a4a54..9669b5f3dad 100644 --- a/apps/files_external/lib/Lib/Storage/OwnCloud.php +++ b/apps/files_external/lib/Lib/Storage/OwnCloud.php @@ -26,9 +26,9 @@ namespace OCA\Files_External\Lib\Storage; use Sabre\DAV\Client; /** - * ownCloud backend for external storage based on DAV backend. + * Nextcloud backend for external storage based on DAV backend. * - * The ownCloud URL consists of three parts: + * The Nextcloud URL consists of three parts: * http://%host/%context/remote.php/webdav/%root * */ |