Show
Ignore:
Timestamp:
10/01/08 04:26:27 (3 months ago)
Author:
sabel
Message:

clean-up

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/sabel/trunk/app/views/Submenu.php

    r20329 r20334  
    9595     
    9696    if ((ENVIRONMENT & PRODUCTION) > 0 && !$data) { 
    97       if ($fp = $cache->lock($userId)) { 
    98         $data = $this->_getUserData($userId); 
    99         $cache->write($fp, $data); 
    100       } 
     97      list ($fp) = $cache->lock($userId); 
     98      $data = $this->_getUserData($userId); 
     99      $cache->write($fp, $data); 
    101100    } 
    102101