You are here

flatcomments.install in Flatcomments 6.2

Same filename and directory in other branches
  1. 5 flatcomments.install
  2. 6 flatcomments.install
  3. 7.2 flatcomments.install

File

flatcomments.install
View 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

Namesort descending Description
flatcomments_update_6100 Removes old flatcomments variables.