aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax/navigationdetect.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-03-22 13:19:29 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-03-22 13:19:29 +0100
commit3dac15a8911fea1e8473af7e7a26d7a57e68328b (patch)
treeeaf7dca00a5b171f2d2336c93a53bd486e2c19d3 /settings/ajax/navigationdetect.php
parentf843b7edfe7b3bc6e45d4610778d2df98b3985e3 (diff)
downloadnextcloud-server-3dac15a8911fea1e8473af7e7a26d7a57e68328b.tar.gz
nextcloud-server-3dac15a8911fea1e8473af7e7a26d7a57e68328b.zip
Move calls to \OCP\JSON to private \OC_JSON
They should be properly fixed at some point. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/ajax/navigationdetect.php')
-rw-r--r--settings/ajax/navigationdetect.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/navigationdetect.php b/settings/ajax/navigationdetect.php
index 043e10da559..35cc25f19ff 100644
--- a/settings/ajax/navigationdetect.php
+++ b/settings/ajax/navigationdetect.php
@@ -21,8 +21,8 @@
*
*/
OC_Util::checkAdminUser();
-OCP\JSON::callCheck();
+\OC_JSON::callCheck();
$navigation = \OC::$server->getNavigationManager()->getAll();
-OCP\JSON::success(['nav_entries' => $navigation]);
+\OC_JSON::success(['nav_entries' => $navigation]);