Skip to content
Snippets Groups Projects
Commit 4e62e121 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

mark OCP\App::register as deprecated

parent 8cff0d99
No related branches found
No related tags found
No related merge requests found
...@@ -34,22 +34,15 @@ namespace OCP; ...@@ -34,22 +34,15 @@ namespace OCP;
* This class provides functions to manage apps in ownCloud * This class provides functions to manage apps in ownCloud
*/ */
class App { class App {
/** /**
* @brief Makes owncloud aware of this app * @brief Makes owncloud aware of this app
* @brief This call is deprecated and not necessary to use. * @brief This call is deprecated and not necessary to use.
* @param $data array with all information * @param $data array with all information
* @returns true/false * @returns true/false
* *
* This function registers the application. $data is an associative array. * @deprecated this method is deprecated
* The following keys are required: * Do not call it anymore
* - id: id of the application, has to be unique ('addressbook') * It'll remain in our public API for compatibility reasons
* - 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.
* *
*/ */
public static function register( $data ){ public static function register( $data ){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment