You are here

function flag_update_6005 in Flag 6

Remove count = 0 rows from the flag_counts table for consistency.

File

./flag.install, line 458
Flag module install/schema/update hooks.

Code

function flag_update_6005() {
  $ret = array();
  $ret[] = update_sql("DELETE FROM {flag_counts} WHERE count = 0");
  return $ret;
}