aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Server.php1
-rw-r--r--lib/private/legacy/OC_App.php2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index b31fb9cd55c..0ff8e6fb717 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -1661,6 +1661,7 @@ class Server extends ServerContainer implements IServerContainer {
/**
* @param \OCP\ISession $session
+ * @return void
*/
public function setSession(\OCP\ISession $session) {
$this->get(SessionStorage::class)->setSession($session);
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)) {