diff options
Diffstat (limited to 'apps/files/ajax/move.php')
-rwxr-xr-x[-rw-r--r--] | apps/files/ajax/move.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/ajax/move.php b/apps/files/ajax/move.php index 0ad314f873c..945fe4e7b82 100644..100755 --- a/apps/files/ajax/move.php +++ b/apps/files/ajax/move.php @@ -3,7 +3,7 @@ // Init owncloud -OC_JSON::checkLoggedIn(); +OCP\JSON::checkLoggedIn(); // Get data $dir = stripslashes($_GET["dir"]); @@ -12,9 +12,9 @@ $target = stripslashes($_GET["target"]); if(OC_Files::move($dir,$file,$target,$file)){ - OC_JSON::success(array("data" => array( "dir" => $dir, "files" => $file ))); + OCP\JSON::success(array("data" => array( "dir" => $dir, "files" => $file ))); }else{ - OC_JSON::error(array("data" => array( "message" => "Could not move $file" ))); + OCP\JSON::error(array("data" => array( "message" => "Could not move $file" ))); } ?> |