include('common_admin_inc.htm'); $doLogout = false; if ($_SERVER[REQUEST_METHOD] == "POST") { error_log( "* * * Reseting the Library to factory Defaults * * *"); $operationInProgress = true; $status = new ReturnStatus(); error_log("Calling restore_defaults()..."); restore_defaults($user); error_log("Closing the progress window & logging out..."); /*########################################################### # Note: The code in $status->out() calls returnStatus( 1 ) # Which closes the popup and reloads the homepage in the # main Window. ###########################################################*/ // Close the progress Window. print $status->closeOut(1); $doLogout = true; error_log("Distroying the Session"); session_destroy(); unset( $_SESSION['login'] ); unset( $_SESSION['user'] ); unset( $_SESSION ); return; } ?>
include('progressWin_inc.htm'); ?>