summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-03-30 13:20:11 +0100
committerGitHub <noreply@github.com>2023-03-30 13:20:11 +0100
commit5e7e3eb6659c34b9539efd6489167aad0c20430d (patch)
tree97e13527da0d39d79bd806f691c8f4da70302ec9
parentda4c5a03390ed4e9d91fb4e501307289a8d5bc18 (diff)
parente94a689bca339dda23afd1c22c606bc8628279b6 (diff)
downloadnextcloud-server-5e7e3eb6659c34b9539efd6489167aad0c20430d.tar.gz
nextcloud-server-5e7e3eb6659c34b9539efd6489167aad0c20430d.zip
Merge pull request #37425 from nextcloud/fix/fix-since-version-number-for-app-loading
-rw-r--r--lib/private/legacy/OC_App.php6
-rw-r--r--lib/public/App/IAppManager.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index 5051d3e7ab5..b28b2d38fbd 100644
--- a/lib/private/legacy/OC_App.php
+++ b/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);
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index 6eeeed2da69..2497544dcbe 100644
--- a/lib/public/App/IAppManager.php
+++ b/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;