diff options
author | Simon L <szaimen@e.mail.de> | 2023-06-10 09:47:04 +0200 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2023-06-10 10:05:36 +0200 |
commit | 918859cafdbb1c0439e34e75d6d1d5c74160c3d7 (patch) | |
tree | 3148d2fa7dcc37ffa88e3537d960dc0a586eef11 /lib/base.php | |
parent | 99e1014ff1d039cf37e75e1facdae57399c58074 (diff) | |
download | nextcloud-server-918859cafdbb1c0439e34e75d6d1d5c74160c3d7.tar.gz nextcloud-server-918859cafdbb1c0439e34e75d6d1d5c74160c3d7.zip |
allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 83f97963c4d..09ec5be441b 100644 --- a/lib/base.php +++ b/lib/base.php @@ -312,6 +312,7 @@ class OC { * Prints the upgrade page */ private static function printUpgradePage(\OC\SystemConfig $systemConfig): void { + $cliUpgradeLink = $systemConfig->getValue('upgrade.cli-upgrade-link', ''); $disableWebUpdater = $systemConfig->getValue('upgrade.disable-web', false); $tooBig = false; if (!$disableWebUpdater) { @@ -358,6 +359,7 @@ class OC { $template->assign('productName', 'nextcloud'); // for now $template->assign('version', OC_Util::getVersionString()); $template->assign('tooBig', $tooBig); + $template->assign('cliUpgradeLink', $cliUpgradeLink); $template->printPage(); die(); |