You are here

function flatcomments_update_5100 in Flatcomments 5

Removes old flatcomments variables.

Flatcomments now uses the core comment display mode.

File

./flatcomments.install, line 8

Code

function flatcomments_update_5100() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'flatcomments_%'");
  cache_clear_all('variables', 'cache');
  return array();
}