summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-07-20 16:45:29 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-07-20 20:03:53 +0200
commitcff5be3d63c03e4884a8ca4aedb024d5521feda5 (patch)
treeba5155d96073cd7763ae5531a3f6fd03eae095b0
parent5f32b573320ad341c29685002830da97a41e55d2 (diff)
downloadnextcloud-server-cff5be3d63c03e4884a8ca4aedb024d5521feda5.tar.gz
nextcloud-server-cff5be3d63c03e4884a8ca4aedb024d5521feda5.zip
Deprecate \OCP\API
-rw-r--r--lib/public/API.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/API.php b/lib/public/API.php
index 4d68bef6f29..d5c08f43347 100644
--- a/lib/public/API.php
+++ b/lib/public/API.php
@@ -35,6 +35,7 @@ namespace OCP;
/**
* This class provides functions to manage apps in ownCloud
* @since 5.0.0
+ * @deprecated 9.1.0 Use the AppFramework
*/
class API {
@@ -66,6 +67,7 @@ class API {
* @param array $defaults
* @param array $requirements
* @since 5.0.0
+ * @deprecated 9.1.0 Use the AppFramework
*/
public static function register($method, $url, $action, $app, $authLevel = self::USER_AUTH,
$defaults = array(), $requirements = array()){