Changeset 448

Show
Ignore:
Timestamp:
01/12/08 16:23:56 (12 months ago)
Author:
padams
Message:

- fixed bug in cache where replace() would attempt to check the dirty list whether or not it existed for a collection. This could happen if the object was in cahce but not dirty.

Location:
trunk
Files:
2 modified

Legend:

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

    r446 r448  
    113113                 
    114114                if (!in_array($collection, $this->non_persistant_collections)): 
    115                         if (!in_array($hkey, $this->dirty_objs[$collection])): 
     115                        // check to make sure the dirty collection exists and object is not already in there. 
     116                        if (!empty($this->dirty_objs[$collection]) || !in_array($hkey, $this->dirty_objs[$collection])): 
    116117                                $this->dirty_objs[$collection][] = $hkey; 
    117118                                //$this->debug(print_r($this->dirty_objs, true)); 
  • trunk/owa_env.php

    r442 r448  
    4343define('OWA_DATA_DIR', OWA_BASE_DIR.DIRECTORY_SEPARATOR.'owa-data'.DIRECTORY_SEPARATOR); 
    4444define('OWA_CACHE_DIR', OWA_DATA_DIR.'caches'.DIRECTORY_SEPARATOR); 
    45 define('OWA_VERSION', '1.1.0rc2'); 
     45define('OWA_VERSION', '$owa_version$'); 
    4646?>