summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-28 21:42:48 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-28 21:42:48 +0100
commita90cefcea2d9240477fdd597d6dc247f101f555a (patch)
tree31a9155faf03398843f7ce0d48aa2d995530bdc7 /apps/files
parent4750fbc22655b27120136a0dfdc601fb37307bf5 (diff)
downloadnextcloud-server-a90cefcea2d9240477fdd597d6dc247f101f555a.tar.gz
nextcloud-server-a90cefcea2d9240477fdd597d6dc247f101f555a.zip
avoid usage of brand name 'ownCloud'
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/lib/app.php2
-rw-r--r--apps/files/tests/ajax_rename.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/lib/app.php b/apps/files/lib/app.php
index 810a9fdd8d1..f5ac11b2168 100644
--- a/apps/files/lib/app.php
+++ b/apps/files/lib/app.php
@@ -57,7 +57,7 @@ class App {
// rename to "/Shared" is denied
if( $dir === '/' and $newname === 'Shared' ) {
$result['data'] = array(
- 'message' => $this->l10n->t("Invalid folder name. Usage of 'Shared' is reserved by ownCloud")
+ 'message' => $this->l10n->t("Invalid folder name. Usage of 'Shared' is reserved.")
);
// rename to existing file is denied
} else if ($this->view->file_exists($dir . '/' . $newname)) {
diff --git a/apps/files/tests/ajax_rename.php b/apps/files/tests/ajax_rename.php
index 8eff978cde0..e654255c407 100644
--- a/apps/files/tests/ajax_rename.php
+++ b/apps/files/tests/ajax_rename.php
@@ -88,7 +88,7 @@ class Test_OC_Files_App_Rename extends \PHPUnit_Framework_TestCase {
$result = $this->files->rename($dir, $oldname, $newname);
$expected = array(
'success' => false,
- 'data' => array('message' => "Invalid folder name. Usage of 'Shared' is reserved by ownCloud")
+ 'data' => array('message' => "Invalid folder name. Usage of 'Shared' is reserved.")
);
$this->assertEquals($expected, $result);