mark OCP\App::register as deprecated

This commit is contained in:
Georg Ehrke 2012-07-26 15:12:57 +02:00
parent 8cff0d997f
commit 4e62e121a6
1 changed files with 3 additions and 10 deletions

View 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 ){