diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-22 13:19:29 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-22 13:19:29 +0100 |
commit | 3dac15a8911fea1e8473af7e7a26d7a57e68328b (patch) | |
tree | eaf7dca00a5b171f2d2336c93a53bd486e2c19d3 /lib/base.php | |
parent | f843b7edfe7b3bc6e45d4610778d2df98b3985e3 (diff) | |
download | nextcloud-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 'lib/base.php')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 0c78d235c59..8af674e7ee8 100644 --- a/lib/base.php +++ b/lib/base.php @@ -944,8 +944,8 @@ class OC { && $request->getMethod() === 'POST' && ((array)$request->getParam('appid')) !== '' ) { - \OCP\JSON::callCheck(); - \OCP\JSON::checkAdminUser(); + \OC_JSON::callCheck(); + \OC_JSON::checkAdminUser(); $appIds = (array)$request->getParam('appid'); foreach($appIds as $appId) { $appId = \OC_App::cleanAppId($appId); |