summaryrefslogtreecommitdiffstats
path: root/settings/ajax/updateapp.php
diff options
context:
space:
mode:
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;