Passed
Push — master ( 866282...d7d28b )
by Roeland
11:29 queued 10s
created
lib/public/App.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -45,63 +45,63 @@
 block discarded – undo
45 45
 class App {
46 46
 
47 47
 
48
-	/**
49
-	 * Register a Configuration Screen that should appear in the personal settings section.
50
-	 * @param string $app appid
51
-	 * @param string $page page to be included
52
-	 * @return void
53
-	 * @since 4.0.0
54
-	 * @deprecated 14.0.0 Use settings section in appinfo.xml to register personal admin sections
55
-	*/
56
-	public static function registerPersonal( $app, $page ) {
57
-		\OC_App::registerPersonal( $app, $page );
58
-	}
48
+    /**
49
+     * Register a Configuration Screen that should appear in the personal settings section.
50
+     * @param string $app appid
51
+     * @param string $page page to be included
52
+     * @return void
53
+     * @since 4.0.0
54
+     * @deprecated 14.0.0 Use settings section in appinfo.xml to register personal admin sections
55
+     */
56
+    public static function registerPersonal( $app, $page ) {
57
+        \OC_App::registerPersonal( $app, $page );
58
+    }
59 59
 
60
-	/**
61
-	 * Register a Configuration Screen that should appear in the Admin section.
62
-	 * @param string $app string appid
63
-	 * @param string $page string page to be included
64
-	 * @return void
65
-	 * @since 4.0.0
66
-	 * @deprecated 14.0.0 Use settings section in appinfo.xml to register admin sections
67
-	 */
68
-	public static function registerAdmin( $app, $page ) {
69
-		\OC_App::registerAdmin( $app, $page );
70
-	}
60
+    /**
61
+     * Register a Configuration Screen that should appear in the Admin section.
62
+     * @param string $app string appid
63
+     * @param string $page string page to be included
64
+     * @return void
65
+     * @since 4.0.0
66
+     * @deprecated 14.0.0 Use settings section in appinfo.xml to register admin sections
67
+     */
68
+    public static function registerAdmin( $app, $page ) {
69
+        \OC_App::registerAdmin( $app, $page );
70
+    }
71 71
 
72
-	/**
73
-	 * Read app metadata from the info.xml file
74
-	 * @param string $app id of the app or the path of the info.xml file
75
-	 * @param boolean $path (optional)
76
-	 * @return array|null
77
-	 * @deprecated 14.0.0 ise \OC::$server->getAppManager()->getAppInfo($appId)
78
-	 * @since 4.0.0
79
-	*/
80
-	public static function getAppInfo( $app, $path=false ) {
81
-		return \OC_App::getAppInfo( $app, $path);
82
-	}
72
+    /**
73
+     * Read app metadata from the info.xml file
74
+     * @param string $app id of the app or the path of the info.xml file
75
+     * @param boolean $path (optional)
76
+     * @return array|null
77
+     * @deprecated 14.0.0 ise \OC::$server->getAppManager()->getAppInfo($appId)
78
+     * @since 4.0.0
79
+     */
80
+    public static function getAppInfo( $app, $path=false ) {
81
+        return \OC_App::getAppInfo( $app, $path);
82
+    }
83 83
 
84
-	/**
85
-	 * checks whether or not an app is enabled
86
-	 * @param string $app
87
-	 * @return boolean
88
-	 *
89
-	 * This function checks whether or not an app is enabled.
90
-	 * @since 4.0.0
91
-	 * @deprecated 13.0.0 use \OC::$server->getAppManager()->isEnabledForUser($appId)
92
-	 */
93
-	public static function isEnabled( $app ) {
94
-		return \OC::$server->getAppManager()->isEnabledForUser( $app );
95
-	}
84
+    /**
85
+     * checks whether or not an app is enabled
86
+     * @param string $app
87
+     * @return boolean
88
+     *
89
+     * This function checks whether or not an app is enabled.
90
+     * @since 4.0.0
91
+     * @deprecated 13.0.0 use \OC::$server->getAppManager()->isEnabledForUser($appId)
92
+     */
93
+    public static function isEnabled( $app ) {
94
+        return \OC::$server->getAppManager()->isEnabledForUser( $app );
95
+    }
96 96
 
97
-	/**
98
-	 * Get the last version of the app from appinfo/info.xml
99
-	 * @param string $app
100
-	 * @return string
101
-	 * @since 4.0.0
102
-	 * @deprecated 14.0.0 use \OC::$server->getAppManager()->getAppVersion($appId)
103
-	 */
104
-	public static function getAppVersion( $app ) {
105
-		return \OC::$server->getAppManager()->getAppVersion($app);
106
-	}
97
+    /**
98
+     * Get the last version of the app from appinfo/info.xml
99
+     * @param string $app
100
+     * @return string
101
+     * @since 4.0.0
102
+     * @deprecated 14.0.0 use \OC::$server->getAppManager()->getAppVersion($appId)
103
+     */
104
+    public static function getAppVersion( $app ) {
105
+        return \OC::$server->getAppManager()->getAppVersion($app);
106
+    }
107 107
 }
Please login to merge, or discard this patch.