BUG 9814 Proposal pivot skin: UNDER CONSTRUCTION

PROBLEM  There is not a page to show up if PM is under updating.
SOLUTION Add a page to be displayed only if PM is updating.
This commit is contained in:
Ralph Asendeteufrer
2012-10-16 10:17:25 -04:00
parent e8e6b94d3b
commit 011b9f7445
4 changed files with 37 additions and 15 deletions

View File

@@ -56,12 +56,6 @@ class workspaceTools {
*/
public function upgrade($first=false, $buildCacheView=false, $workSpace=SYS_SYS)
{
//setting flag to true to check into sysGeneric.php by usign G::virtualURI
date_default_timezone_get();
//$final = date('F d, Y h:i:s', mktime(date('h'), date('i')+3, date('s')+30,date("m"),date("d"),date("Y")));
//$_SERVER['timeRemainUpdate'] = $final;
$_SERVER['Updating'] = true;
//updating
$start = microtime(true);
CLI::logging("> Updating database...\n");
$this->upgradeDatabase();
@@ -89,8 +83,6 @@ class workspaceTools {
$stop = microtime(true);
$final = $stop - $start;
CLI::logging("<*> Process Updating cache view carried out in $final seconds.\n");
//setting flag to false
$_SERVER['Updating'] = true;
}
/**