Ticket #371: User.php.diff

File User.php.diff, 0.5 KB (added by leandro@…, 14 years ago)

Patch

  • User.php

    old new  
    437437    /** Is the user valid?  Valid means that the account is validated or hasn't exhausted it's validation period. 
    438438     $errmsg: Returs the reason why the account is or isn't valid */ 
    439439    function isUserValid(& $errmsg = null) { 
     440               global $account_status_to_text; 
    440441        $db = AbstractDb::getObject(); 
    441442        $retval = false; 
    442443        $account_status = $this->getAccountStatus();