// Check for any unapplied SQL patches when going home
if (($module == "options") && ($view == "database_sqlpatches")) {
include_once('./modules/options/database_sqlpatches.php');
donePatches();
} elseif ($file == 'home') {
include_once('./modules/options/database_sqlpatches.php');
if (getNumberOfPatches() > 0 ) {
$view = "database_sqlpatches";
$module = "options";
if($action == "run") {
runPatches();
} else {
listPatches();
}
$menu = false;
}
}
1 to 7 of 7