]> source.dussan.org Git - nextcloud-server.git/commitdiff
mark OCP\App::register as deprecated
authorGeorg Ehrke <dev@georgswebsite.de>
Thu, 26 Jul 2012 13:12:57 +0000 (15:12 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Thu, 26 Jul 2012 13:12:57 +0000 (15:12 +0200)
lib/public/app.php

index 0df665f9bced3c9695e8bab62f2bd194d6f1c911..9cadabeca74cc07dd21669fb64b96950b79d61e7 100644 (file)
@@ -34,22 +34,15 @@ 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 ){