-Disable upgrades for the 1.9.0 beta.

This commit is contained in:
martin 2011-06-20 18:00:26 -04:00
parent 5569a24aef
commit f03c0e5f10
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,11 @@ if(isset($version) && ($version != false) && ($version == AIRTIME_VERSION) && !i
// A previous version exists - if so, upgrade.
if(isset($version) && ($version != false) && ($version < AIRTIME_VERSION)) {
echo "Airtime version $version found.".PHP_EOL;
echo "It appears you already have a version of Airtime installed.";
echo "Upgrading is currently disabled for Airtime 1.9.0-beta1";
exit(2);
require_once("airtime-upgrade.php");
//Make sure to exit with non-zero error code so that airtime-install