equal
deleted
inserted
replaced
57 // avoid caching future queries |
57 // avoid caching future queries |
58 if ( $base <= NOW ) |
58 if ( $base <= NOW ) |
59 { |
59 { |
60 eb_mysql_query("INSERT INTO stats_count_cache(channel, time_min, time_max, message_count) VALUES('$channel', $time_min, $time_max, $count);"); |
60 eb_mysql_query("INSERT INTO stats_count_cache(channel, time_min, time_max, message_count) VALUES('$channel', $time_min, $time_max, $count);"); |
61 } |
61 } |
62 return $count; |
62 return intval($count); |
63 } |
63 } |
64 return false; |
64 return false; |
65 } |
65 } |
66 |
66 |
67 /** |
67 /** |