summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-26 15:12:57 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-26 15:16:07 +0200
commite4679770c4d85896bef3e81125e86e272bb6cd64 (patch)
treebd42ea44e5e031695be6667c13f5aed3bdd919c9 /lib
parentf7155b42765fe0fb69c36a01750f046f34e9eaaf (diff)
downloadnextcloud-server-e4679770c4d85896bef3e81125e86e272bb6cd64.tar.gz
nextcloud-server-e4679770c4d85896bef3e81125e86e272bb6cd64.zip
declare OCP\App::register as deprecated
Diffstat (limited to 'lib')
-rw-r--r--lib/public/app.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/app.php b/lib/public/app.php
index 28411933beb..5689f53ffb2 100644
--- a/lib/public/app.php
+++ b/lib/public/app.php
@@ -35,6 +35,21 @@ namespace OCP;
*/
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
* @returns true/false