summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-11 23:16:27 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-04-11 23:16:27 -0500
commit1729e4471f41e560f78f6b7269bcdb73e24602d5 (patch)
treed9850ee89a893efd8f746c4bbc71b8c9eae9a55b /apps/files_external/lib
parent6bd1c50dc32ccc208723ef08af72b8bfe99b58bb (diff)
downloadnextcloud-server-1729e4471f41e560f78f6b7269bcdb73e24602d5.tar.gz
nextcloud-server-1729e4471f41e560f78f6b7269bcdb73e24602d5.zip
Update comments to Nextcloud
* based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/Google.php4
-rw-r--r--apps/files_external/lib/Lib/Storage/OwnCloud.php4
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
*
*/