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 /settings/ajax/updateapp.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 'settings/ajax/updateapp.php')
-rw-r--r-- | settings/ajax/updateapp.php | 6 |
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; |