Changeset 427

Show
Ignore:
Timestamp:
12/23/07 00:45:39 (13 months ago)
Author:
padams
Message:

fixing cache constructors.
removing pear log 1.9.11

Location:
trunk
Files:
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/base/classes/cache.php

    r425 r427  
    5050        function __construct($cache_dir) { 
    5151         
    52                 $this->cache_dir = $cache_dir; 
    53                  
    54                  
    55                  
    56                 return; 
     52                return $this->cache_dir = $cache_dir; 
    5753         
    5854        } 
  • trunk/modules/base/classes/cacheFacade.php

    r423 r427  
    3838        function __construct($cache_dir) { 
    3939         
    40                 $this->cache_dir = $cache_dir; 
    4140                $this->e = &owa_error::get_instance(); 
    42                  
    43          
    44                 return; 
     41                return parent::__construct($cache_dir); 
    4542         
    4643        } 
     
    4845        function owa_cacheFacade($cache_dir) { 
    4946                 
    50                 register_shutdown_function(array(&$this, "__destruct")); 
    51                 return $this->__construct($cache_dir); 
     47                $this->e = &owa_error::get_instance(); 
     48                return $this->owa_cache($cache_dir); 
    5249         
    5350        }