CC-2806: Create upgrade template file

-missing function
-comment out redundant code
This commit is contained in:
martin 2011-09-29 18:27:24 -04:00
parent 421f543f99
commit d93a9edcd2
4 changed files with 11 additions and 6 deletions

View file

@ -64,8 +64,7 @@ if (isset($version) && ($version != false) && ($version < AIRTIME_VERSION) && !i
echo "Airtime version $version found.".PHP_EOL;
require_once("airtime-upgrade.php");
exit(2);
exit(0);
}
if($version === false){

View file

@ -116,6 +116,7 @@ $newVersion = AIRTIME_VERSION;
$sql = "INSERT INTO cc_pref (keystr, valstr) VALUES ('system_version', '$newVersion')";
$CC_DBC->query($sql);
/*
echo PHP_EOL."*** Updating Api Client ***".PHP_EOL;
passthru("python $SCRIPTPATH/../../python_apps/api_clients/install/api_client_install.py");
@ -134,3 +135,4 @@ sleep(4);
passthru("airtime-check-system");
echo "******************************* Update Complete *******************************".PHP_EOL;
*/