Skip to content

Commit 98d37d2

Browse files
committed
Enable the upgrade notice permanently
1 parent a6fc11a commit 98d37d2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

wcfsetup/install/files/lib/acp/page/PackageListPage.class.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,10 @@ public function assignVariables()
8787
$taintedApplications[$application->getPackage()->packageID] = $application;
8888
}
8989

90-
$availableUpgradeVersion = WCF::AVAILABLE_UPGRADE_VERSION;
91-
// During the RC phase the upgrade should only be offered when the maintenance mode is enabled.
92-
if (!\OFFLINE) {
93-
$availableUpgradeVersion = null;
94-
}
95-
9690
WCF::getTPL()->assign([
9791
'recentlyDisabledCustomValues' => LanguageFactory::getInstance()->countRecentlyDisabledCustomValues(),
9892
'taintedApplications' => $taintedApplications,
99-
'availableUpgradeVersion' => $availableUpgradeVersion,
93+
'availableUpgradeVersion' => WCF::AVAILABLE_UPGRADE_VERSION,
10094
'upgradeOverrideEnabled' => PackageUpdateServer::isUpgradeOverrideEnabled(),
10195
]);
10296
}

0 commit comments

Comments
 (0)