Changeset 22750

Show
Ignore:
Timestamp:
06/30/09 17:35:22 (9 months ago)
Author:
bergie
Message:

Clearer message if GUID is empty

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/ragnaroek/midcom/midcom.core/midcom/services/cache/module/content.php

    r22564 r22750  
    813813    function invalidate($guid) 
    814814    { 
     815        if (empty($guid)) 
     816        { 
     817            debug_push_class(__CLASS__, __FUNCTION__); 
     818            debug_add("Called for empty GUID, ignoring invalidation request."); 
     819            debug_pop(); 
     820            return; 
     821        } 
     822 
    815823        $this->_meta_cache->open(); 
    816824