You are here

flatcomments.install in Flatcomments 5

File

flatcomments.install
View source
<?php

/**
 * Removes old flatcomments variables.
 *
 * Flatcomments now uses the core comment display mode.
 */
function flatcomments_update_5100() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'flatcomments_%'");
  cache_clear_all('variables', 'cache');
  return array();
}

Functions

Namesort descending Description
flatcomments_update_5100 Removes old flatcomments variables.