Changeset 9955

Show
Ignore:
Timestamp:
11/17/08 08:57:38 (2 months ago)
Author:
afz
Message:

revert Settings changes to before starting cache stuffs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.8/jaws/html/gadgets/Settings/AdminModel.php

    r9938 r9955  
    209209              $xss->parse($settings['copyright']) : ''; 
    210210 
    211         $old_site_lang = $GLOBALS['app']->Registry->Get('/config/site_language'); 
    212211        foreach ($settings as $settingKey => $settingValue) { 
    213212            if (!in_array($settingKey, $basicKeys)) { 
     
    217216        } 
    218217        $GLOBALS['app']->Registry->Commit('core'); 
    219  
    220         //remove all cached files 
    221         if ($old_site_lang != $settings['site_language']) { 
    222             $GLOBALS['app']->Cache->delete(); 
    223         } 
    224  
    225218        $GLOBALS['app']->Session->PushLastResponse(_t('SETTINGS_SAVED'), RESPONSE_NOTICE); 
    226219        return true;