/[drupal]/contributions/modules/role_theme_switcher/role_theme_switcher.module
ViewVC logotype

Diff of /contributions/modules/role_theme_switcher/role_theme_switcher.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6.2.2, Fri Feb 20 10:20:07 2009 UTC revision 1.6.2.3, Thu Apr 23 15:21:13 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: role_theme_switcher.module,v 1.6.2.1 2009/02/19 13:39:35 tiutiun Exp $  // $Id: role_theme_switcher.module,v 1.6.2.2 2009/02/20 10:20:07 tiutiun Exp $
3    
4  /**  /**
5   * Implementation of hook_init()   * Implementation of hook_init()
# Line 18  function role_theme_switcher_init() Line 18  function role_theme_switcher_init()
18    
19      // Also change the active theme globally      // Also change the active theme globally
20      $custom_theme = $role_theme;      $custom_theme = $role_theme;
     drupal_clear_css_cache();  
21    }    }
22  }  }
23    

Legend:
Removed from v.1.6.2.2  
changed lines
  Added in v.1.6.2.3

  ViewVC Help
Powered by ViewVC 1.1.2