summaryrefslogtreecommitdiffstats
path: root/lib/public/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/app.php')
-rw-r--r--lib/public/app.php18
1 files changed, 4 insertions, 14 deletions
diff --git a/lib/public/app.php b/lib/public/app.php
index 9e2108818bf..5689f53ffb2 100644
--- a/lib/public/app.php
+++ b/lib/public/app.php
@@ -34,28 +34,21 @@ namespace OCP;
* This class provides functions to manage apps in ownCloud
*/
class App {
-
/**
* @brief Makes owncloud aware of this app
* @brief This call is deprecated and not necessary to use.
* @param $data array with all information
* @returns true/false
*
- * This function registers the application. $data is an associative array.
- * The following keys are required:
- * - id: id of the application, has to be unique ('addressbook')
- * - name: Human readable name ('Addressbook')
- * - version: array with Version (major, minor, bugfix) ( array(1, 0, 2))
- *
- * The following keys are optional:
- * - order: integer, that influences the position of your application in
- * a list of applications. Lower values come first.
+ * @deprecated this method is deprecated
+ * Do not call it anymore
+ * It'll remain in our public API for compatibility reasons
*
*/
public static function register( $data ){
+ return \OC_App::register( $data );
}
-
/**
* @brief adds an entry to the navigation
* @param $data array containing the data
@@ -158,6 +151,3 @@ class App {
}
-
-
-?>