Fixed error message
This commit is contained in:
parent
5ebf8a87f2
commit
5a5b216ba0
|
@ -14,7 +14,7 @@ $target = $_GET["target"];
|
||||||
if(OC_Files::move($dir,$file,$target,$file)){
|
if(OC_Files::move($dir,$file,$target,$file)){
|
||||||
OC_JSON::success(array("data" => array( "dir" => $dir, "files" => $file )));
|
OC_JSON::success(array("data" => array( "dir" => $dir, "files" => $file )));
|
||||||
}else{
|
}else{
|
||||||
OC_JSON::error(array("data" => array( "message" => "Could move $file" )));
|
OC_JSON::error(array("data" => array( "message" => "Couldn't move $file" )));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue