summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-22 09:54:55 +0100
committerGitHub <noreply@github.com>2018-03-22 09:54:55 +0100
commitbe35b54f69f7c54318adc3bb46d23506afcebd09 (patch)
tree79d0454afcad2ddbba67aa483855dc049a8f2843 /lib/public
parentdc4ba31e7e764b35ddfabe178ddc72a8cda264f3 (diff)
parent78211a58e642b3b4363e9ca21aff398661260b01 (diff)
downloadnextcloud-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.php11
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);
- }
}