query("update applications set app_version='".$currentver."' where (app_name='admin' or app_name='filemanager' or app_name='addressbook' or app_name='todo' or app_name='calendar' or app_name='email' or app_name='nntp' or app_name='cron_apps' or app_name='notes')"); } if ($currentver == "drop"){ include("./sql/".$phpgw_domain[$SetupDomain]["db_type"]."_droptables.inc.php"); $currentver = "new"; } if ($currentver == "new") { include("./sql/".$phpgw_domain[$SetupDomain]["db_type"]."_newtables.inc.php"); include("./sql/common_default_records.inc.php"); $included = True; include($phpgw_info["server"]["server_root"] . "/setup/lang.php"); } echo "\n"; echo " \n"; echo " \n"; echo " \n"; if ($currentver == "7122000" || $currentver == "8032000" || $currentver == "8072000" || $currentver == "8212000" || $currentver == "9052000" || $currentver == "9072000") { include("./sql/".$phpgw_domain[$SetupDomain]["db_type"]."_upgrade_prebeta.inc.php"); } include("./sql/".$phpgw_domain[$SetupDomain]["db_type"]."_upgrade_beta.inc.php"); if (!$tablechanges == True){ echo " \n"; echo " \n"; echo " \n"; } echo "
 Table Changes
No table changes were needed. The script only updated your version setting.
\n"; ?>