Quellcode durchsuchen

Merge pull request #37425 from nextcloud/fix/fix-since-version-number-for-app-loading

Julius Härtl vor 1 Jahr
Ursprung
Commit
5e7e3eb665
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
  1. 3 3
      lib/private/legacy/OC_App.php
  2. 4 4
      lib/public/App/IAppManager.php

+ 3 - 3
lib/private/legacy/OC_App.php

@@ -98,7 +98,7 @@ class OC_App {
 	 *
 	 * @param string $app
 	 * @return bool
-	 * @deprecated 26.0.0 use IAppManager::isAppLoaded
+	 * @deprecated 27.0.0 use IAppManager::isAppLoaded
 	 */
 	public static function isAppLoaded(string $app): bool {
 		return \OC::$server->get(IAppManager::class)->isAppLoaded($app);
@@ -129,7 +129,7 @@ class OC_App {
 	 *
 	 * @param string $app
 	 * @throws Exception
-	 * @deprecated 26.0.0 use IAppManager::loadApp
+	 * @deprecated 27.0.0 use IAppManager::loadApp
 	 */
 	public static function loadApp(string $app): void {
 		\OC::$server->get(IAppManager::class)->loadApp($app);
@@ -171,7 +171,7 @@ class OC_App {
 	 * @param string $app
 	 * @param array $types
 	 * @return bool
-	 * @deprecated 26.0.0 use IAppManager::isType
+	 * @deprecated 27.0.0 use IAppManager::isType
 	 */
 	public static function isType(string $app, array $types): bool {
 		return \OC::$server->get(IAppManager::class)->isType($app, $types);

+ 4 - 4
lib/public/App/IAppManager.php

@@ -96,14 +96,14 @@ interface IAppManager {
 	/**
 	 * Load an app, if not already loaded
 	 * @param string $app app id
-	 * @since 26.0.0
+	 * @since 27.0.0
 	 */
 	public function loadApp(string $app): void;
 
 	/**
 	 * Check if an app is loaded
 	 * @param string $app app id
-	 * @since 26.0.0
+	 * @since 27.0.0
 	 */
 	public function isAppLoaded(string $app): bool;
 
@@ -207,13 +207,13 @@ interface IAppManager {
 	 * exists.
 	 *
 	 * if $types is set to non-empty array, only apps of those types will be loaded
-	 * @since 26.0.0
+	 * @since 27.0.0
 	 */
 	public function loadApps(array $types = []): bool;
 
 	/**
 	 * Check if an app is of a specific type
-	 * @since 26.0.0
+	 * @since 27.0.0
 	 */
 	public function isType(string $app, array $types): bool;