You are here

function flatcomments_update_6100 in Flatcomments 6

Same name and namespace in other branches
  1. 6.2 flatcomments.install \flatcomments_update_6100()

Removes old flatcomments variables.

Flatcomments now uses the core comment display mode.

File

./flatcomments.install, line 8

Code

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;
}