typo fixed
This commit is contained in:
parent
bda0026374
commit
94add1c000
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue