summaryrefslogtreecommitdiffstats
path: root/settings/ajax/updateapp.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-03-23 15:20:38 +0100
committerGitHub <noreply@github.com>2018-03-23 15:20:38 +0100
commite2866091bc60d10560d16b2ed8044055e7753de8 (patch)
tree744a5e31a2ba607f79f351741aade1f2049b6a17 /settings/ajax/updateapp.php
parent3d8fcad88b610a41c4939663ab3b4256a149ab1f (diff)
parent2c9fd794b82a9aa2c762526973a9afb66cc46eda (diff)
downloadnextcloud-server-e2866091bc60d10560d16b2ed8044055e7753de8.tar.gz
nextcloud-server-e2866091bc60d10560d16b2ed8044055e7753de8.zip
Merge pull request #8943 from nextcloud/dep_oc_json
Remove \OCP\JSON
Diffstat (limited to 'settings/ajax/updateapp.php')
-rw-r--r--settings/ajax/updateapp.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/ajax/updateapp.php b/settings/ajax/updateapp.php
index 3431c68dbd7..d37e1cfcaed 100644
--- a/settings/ajax/updateapp.php
+++ b/settings/ajax/updateapp.php
@@ -25,11 +25,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
-OCP\JSON::checkAdminUser();
-OCP\JSON::callCheck();
+\OC_JSON::checkAdminUser();
+\OC_JSON::callCheck();
if (!array_key_exists('appid', $_POST)) {
- OCP\JSON::error(array(
+ \OC_JSON::error(array(
'message' => 'No AppId given!'
));
return;