summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/app.php2
-rw-r--r--lib/private/updater.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index 49d4e942a09..787029b653b 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -87,7 +87,7 @@ class OC_App {
/**
* loads all apps
*
- * @param array $types
+ * @param string[] | string | null $types
* @return bool
*
* This function walks through the ownCloud directory and loads all apps
diff --git a/lib/private/updater.php b/lib/private/updater.php
index 78457ba3a80..4f74481562b 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -324,9 +324,6 @@ class Updater extends BasicEmitter {
if ($this->updateStepEnabled) {
$this->doCoreUpgrade();
- // install new shipped apps on upgrade
- OC_Installer::installShippedApps();
-
// update all shipped apps
$disabledApps = $this->checkAppsRequirements();
$this->doAppUpgrade();
@@ -334,6 +331,9 @@ class Updater extends BasicEmitter {
// upgrade appstore apps
$this->upgradeAppStoreApps($disabledApps);
+ // install new shipped apps on upgrade
+ OC_App::loadApps('authentication');
+ OC_Installer::installShippedApps();
// post-upgrade repairs
$repair = new Repair(Repair::getRepairSteps());