diff options
Diffstat (limited to 'lib/public/JSON.php')
-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); - } } |