diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-03-22 09:54:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 09:54:55 +0100 |
commit | be35b54f69f7c54318adc3bb46d23506afcebd09 (patch) | |
tree | 79d0454afcad2ddbba67aa483855dc049a8f2843 /lib/public | |
parent | dc4ba31e7e764b35ddfabe178ddc72a8cda264f3 (diff) | |
parent | 78211a58e642b3b4363e9ca21aff398661260b01 (diff) | |
download | nextcloud-server-be35b54f69f7c54318adc3bb46d23506afcebd09.tar.gz nextcloud-server-be35b54f69f7c54318adc3bb46d23506afcebd09.zip |
Merge pull request #8791 from nextcloud/cleanup-oc_json
Remove unused methods of OC_Json
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); - } } |