summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-02-08 13:29:57 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-03-20 10:21:45 +0100
commit13c71ed24a4f30dd3dfb04bd09f16648fb4fe080 (patch)
tree2593ce5ec8cca788c25787af6c6ffa66ec58fe7e /lib/private/legacy
parent78c17168185c21b6b788e40602f95c690fe441f9 (diff)
downloadnextcloud-server-13c71ed24a4f30dd3dfb04bd09f16648fb4fe080.tar.gz
nextcloud-server-13c71ed24a4f30dd3dfb04bd09f16648fb4fe080.zip
Small cleanups for AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_App.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php
index 5d7941ffa3f..5051d3e7ab5 100644
--- a/lib/private/legacy/OC_App.php
+++ b/lib/private/legacy/OC_App.php
@@ -98,6 +98,7 @@ class OC_App {
*
* @param string $app
* @return bool
+ * @deprecated 26.0.0 use IAppManager::isAppLoaded
*/
public static function isAppLoaded(string $app): bool {
return \OC::$server->get(IAppManager::class)->isAppLoaded($app);
@@ -128,6 +129,7 @@ class OC_App {
*
* @param string $app
* @throws Exception
+ * @deprecated 26.0.0 use IAppManager::loadApp
*/
public static function loadApp(string $app): void {
\OC::$server->get(IAppManager::class)->loadApp($app);
@@ -169,7 +171,7 @@ class OC_App {
* @param string $app
* @param array $types
* @return bool
- * @deprecated 26.0.0 call \OC::$server->get(IAppManager::class)->isType($app, $types)
+ * @deprecated 26.0.0 use IAppManager::isType
*/
public static function isType(string $app, array $types): bool {
return \OC::$server->get(IAppManager::class)->isType($app, $types);