Improvement to get the workspace info in the user authentication

- Now only once time per day get the workspace info
This commit is contained in:
Julio Cesar Laura
2012-09-24 14:44:08 -04:00
parent 648c7f095d
commit b9ed53ed87
5 changed files with 24 additions and 4 deletions

View File

@@ -213,7 +213,7 @@ class serverConf {
/**
* Will return a list of all WS in this system and their related information.
* @uses getWorkspaceInfo
* @uses getWSList
* param
* @return array
*/
@@ -226,7 +226,6 @@ class serverConf {
if (($file != ".") && ($file != "..")) {
if (file_exists ( PATH_DB . $file . '/db.php' )) { //print $file."/db.php <hr>";
$statusl = ($this->isWSDisabled ( $file )) ? 'DISABLED' : 'ENABLED';
//$wsInfo = $this->getWorkspaceInfo ( $file );
if(isset($this->aWSinfo[$file])){
$wsInfo = $this->aWSinfo[$file];
}else{