summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/isEmpty.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/ajax/isEmpty.php')
-rw-r--r--apps/files_trashbin/ajax/isEmpty.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_trashbin/ajax/isEmpty.php b/apps/files_trashbin/ajax/isEmpty.php
index 1ee671334f2..73356047e74 100644
--- a/apps/files_trashbin/ajax/isEmpty.php
+++ b/apps/files_trashbin/ajax/isEmpty.php
@@ -22,12 +22,12 @@
*
*/
-OCP\JSON::checkLoggedIn();
-OCP\JSON::callCheck();
+\OC_JSON::checkLoggedIn();
+\OC_JSON::callCheck();
\OC::$server->getSession()->close();
$trashStatus = OCA\Files_Trashbin\Trashbin::isEmpty(OCP\User::getUser());
-OCP\JSON::success(array("data" => array("isEmpty" => $trashStatus)));
+\OC_JSON::success(array("data" => array("isEmpty" => $trashStatus)));