Parent Directory
|
Revision Log
|
Revision Graph
Corrected mis-placed parenthesis for t()
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /* |
| 5 | * Delete all htmLawed settings when module is 'uninstalled' (not 'disabled') |
| 6 | * Also see htmLawed_cron() and htmLawed_node_type() in htmLawed.module |
| 7 | */ |
| 8 | function htmLawed_uninstall() { |
| 9 | $setting_rows = db_query("SELECT name AS name FROM {variable} WHERE name LIKE 'htmLawed_format_%'"); |
| 10 | while($row = db_fetch_object($setting_rows)) { |
| 11 | $format = substr($row->name, 16); |
| 12 | variable_del('htmLawed_format_'. $format); |
| 13 | drupal_set_message(t('Variable <em>htmLawed_format_!format</em> storing format-specific htmLawed settings was deleted from the database.', array('!format' => $format))); |
| 14 | } |
| 15 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |