From: Georg Ehrke Date: Thu, 26 Jul 2012 13:12:57 +0000 (+0200) Subject: mark OCP\App::register as deprecated X-Git-Tag: v4.0.6~17^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4e62e121a6222cce64f20ab6fa1bbfb77b4a559c;p=nextcloud-server.git mark OCP\App::register as deprecated --- diff --git a/lib/public/app.php b/lib/public/app.php index 0df665f9bce..9cadabeca74 100644 --- a/lib/public/app.php +++ b/lib/public/app.php @@ -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 ){