flatcomments.install in Flatcomments 6.2
Same filename and directory in other branches
File
flatcomments.installView source
<?php
/**
* Removes old flatcomments variables.
*
* Flatcomments now uses the core comment display mode.
*/
function flatcomments_update_6100() {
$ret = array();
// remove unused variables
$ret[] = update_sql("DELETE FROM {variable} WHERE name LIKE 'flatcomments_%'");
cache_clear_all('variables', 'cache');
return $ret;
}
Functions
Name | Description |
---|---|
flatcomments_update_6100 | Removes old flatcomments variables. |