Changeset 24991

Show
Ignore:
Timestamp:
02/03/10 16:45:24 (1 month ago)
Author:
bergie
Message:

Invalidate cache when saving the metadata form, fixes #1612

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/ragnaroek/midcom/midcom.admin.folder/handler/metadata.php

    r24967 r24991  
    156156        { 
    157157            case 'save': 
     158                $_MIDCOM->cache->invalidate($this->_object->guid); 
    158159            case 'cancel': 
    159160                $_MIDCOM->relocate(''); 
     
    161162        } 
    162163 
    163         $tmp = array (); 
     164        $tmp = array(); 
    164165 
    165166        if (is_a($this->_object, 'midcom_baseclasses_database_topic')) 
  • branches/ragnaroek/midcom/midgard.admin.asgard/handler/object/metadata.php

    r23025 r24991  
    168168                //net_nemein_wiki_viewer::index($this->_request_data['controller']->datamanager, $indexer, $this->_topic); 
    169169                // *** FALL-THROUGH *** 
     170                $_MIDCOM->cache->invalidate($this->_object->guid); 
    170171                $_MIDCOM->relocate("__mfa/asgard/object/metadata/{$this->_object->guid}"); 
    171172                // This will exit.