Parent Directory
|
Revision Log
|
Revision Graph
Updating HEAD with latest 6-2.0 branch to prepare for D7 upgrade.
| 1 | <?php |
| 2 | // $Id: flatcomments.install,v 1.1.2.5 2009/05/18 04:10:19 dragonwize Exp $ |
| 3 | |
| 4 | /** |
| 5 | * Removes old flatcomments variables. |
| 6 | * |
| 7 | * Flatcomments now uses the core comment display mode. |
| 8 | */ |
| 9 | function flatcomments_update_6100() { |
| 10 | $ret = array(); |
| 11 | |
| 12 | // remove unused variables |
| 13 | $ret[] = update_sql("DELETE FROM {variable} WHERE name LIKE 'flatcomments_%'"); |
| 14 | cache_clear_all('variables', 'cache'); |
| 15 | |
| 16 | return $ret; |
| 17 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |