function user_stats_update_2 in User Stats 5
Implementation of hook_update()
File
- ./
user_stats.install, line 73
Code
function user_stats_update_2() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("UPDATE {profile_fields} SET register=0 WHERE\n (name='user_post_count' OR name='user_ip_address')");
break;
}
return $ret;
}