declare OCP\App::register as deprecated
This commit is contained in:
parent
f7155b4276
commit
e4679770c4
1 changed files with 15 additions and 0 deletions
|
@ -34,6 +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
|
||||
*
|
||||
* @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
|
||||
|
|
Loading…
Reference in a new issue