Show
Ignore:
Timestamp:
09/09/07 23:55:18 (1 year ago)
Author:
azerttyu
Message:

revert des commit [1944], [1939], [1933], [1925] : nouveau bureau.
On recommencera mais en patchant la branche /franck-desktop

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/class/m_quota.php

    r1944 r1945  
    121121   * @Return the quota used and total for this ressource (or for all ressource if unspecified) 
    122122   */ 
    123   function getquota($ressource="",$force= false) { 
     123  function getquota($ressource="") { 
    124124    global $db,$err,$cuid; 
    125125    $err->log("quota","getquota",$ressource); 
    126126    $this->qlist(); // Generate the quota list. 
    127         if ($force == false && $this->quotas) {  
    128                 if ($ressource) {  
    129                         return $this->quotas[$ressource];  
    130                 } else {  
    131                         return $this->quotas;  
    132                 }  
    133         }      
    134127    $db->query("select * from quotas where uid='$cuid';"); 
    135128    if ($db->num_rows()==0) {