You are here

function flag_update_6203 in Flag 6.2

Same name and namespace in other branches
  1. 7.3 flag.install \flag_update_6203()
  2. 7.2 flag.install \flag_update_6203()

Remove count = 0 rows from the count tables.

File

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

Code

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