From e4679770c4d85896bef3e81125e86e272bb6cd64 Mon Sep 17 00:00:00 2001
From: Georg Ehrke <dev@georgswebsite.de>
Date: Thu, 26 Jul 2012 15:12:57 +0200
Subject: [PATCH] declare OCP\App::register as deprecated

---
 lib/public/app.php | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/lib/public/app.php b/lib/public/app.php
index 28411933be..5689f53ffb 100644
--- a/lib/public/app.php
+++ b/lib/public/app.php
@@ -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
-- 
GitLab