aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-29 16:49:22 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-29 16:49:22 +0200
commit94add1c000bc40cd77362ae7a1176e2b6c8faad3 (patch)
treefca617b24e190880529638c5c3ffe71e0a495099 /lib/files.php
parentbda0026374381d4519f1032c365db0a18989fbb7 (diff)
downloadnextcloud-server-94add1c000bc40cd77362ae7a1176e2b6c8faad3.tar.gz
nextcloud-server-94add1c000bc40cd77362ae7a1176e2b6c8faad3.zip
typo fixed
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php
index cee273d95c9..d5bebb7e549 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -167,7 +167,7 @@ class OC_Files {
* @param file $target
*/
public static function move($sourceDir,$source,$targetDir,$target){
- if(OC_User::isLoggedIn() && ($sourceDir != '' || $source != 'Shared') && !OC_Filesystem::file_exists($tagetDir.'/'.$target)){
+ if(OC_User::isLoggedIn() && ($sourceDir != '' || $source != 'Shared') && !OC_Filesystem::file_exists($targetDir.'/'.$target)){
$targetFile=self::normalizePath($targetDir.'/'.$target);
$sourceFile=self::normalizePath($sourceDir.'/'.$source);
return OC_Filesystem::rename($sourceFile,$targetFile);