diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-03-12 18:28:46 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-03-21 14:36:34 +0100 |
commit | 78211a58e642b3b4363e9ca21aff398661260b01 (patch) | |
tree | c1476566c124e65a6fd201b5d0076a9adc6e180e /lib/public | |
parent | c8340ace5c22b3a3cf2132b2efbe91104aab04e9 (diff) | |
download | nextcloud-server-78211a58e642b3b4363e9ca21aff398661260b01.tar.gz nextcloud-server-78211a58e642b3b4363e9ca21aff398661260b01.zip |
Remove unused methods of OC_Json
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/JSON.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/public/JSON.php b/lib/public/JSON.php index 151a590b294..6138aec1f49 100644 --- a/lib/public/JSON.php +++ b/lib/public/JSON.php @@ -163,15 +163,4 @@ class JSON { public static function checkAdminUser() { \OC_JSON::checkAdminUser(); } - - /** - * Encode JSON - * @param array $data - * @return string - * @deprecated 8.1.0 Use a AppFramework JSONResponse instead - * @suppress PhanDeprecatedFunction - */ - public static function encode($data) { - return \OC_JSON::encode($data); - } } |