diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-02-08 14:34:01 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-02-08 14:34:01 +0100 |
commit | cf6a0e083302bec3a387b9c27be42f64a8bf6b10 (patch) | |
tree | e2ac60dde1359ff26ab32960cd3e5460447ba680 /lib/private/legacy | |
parent | ecfa7c3ca359e732b8bef395edd6be9bd9107b2e (diff) | |
download | nextcloud-server-cf6a0e083302bec3a387b9c27be42f64a8bf6b10.tar.gz nextcloud-server-cf6a0e083302bec3a387b9c27be42f64a8bf6b10.zip |
chore: Deprecate OC_App::loadApps and add missing return type in Server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_App.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 841ad541674..c652fcfb9ba 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -117,6 +117,8 @@ class OC_App { * exists. * * if $types is set to non-empty array, only apps of those types will be loaded + * + * @deprecated 29.0.0 use IAppManager::loadApps instead */ public static function loadApps(array $types = []): bool { if (!\OC::$server->getSystemConfig()->getValue('installed', false)) { |