Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
| revision 1.3.2.2, Fri Feb 20 10:20:07 2009 UTC | revision 1.3.2.3, Thu Apr 23 15:21:13 2009 UTC | |
|---|---|---|
| # | Line 13 function role_theme_switcher_uninstall() | Line 13 function role_theme_switcher_uninstall() |
| 13 | variable_del(strtolower($role_name).'_theme'); | variable_del(strtolower($role_name).'_theme'); |
| 14 | } | } |
| 15 | } | } |
| 16 | ||
| 17 | function role_theme_switcher_install() | |
| 18 | { | |
| 19 | // Set the weight of the module to -2 so it is loaded BEFORE any other regular module, that could also switch themes | |
| 20 | db_query("UPDATE {system} SET weight = -2 WHERE name = 'role_theme_switcher'"); | |
| 21 | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |