summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
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();