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

declare OCP\App::register as deprecated

parent f7155b42
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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