Commit 235bc84e authored by Evan Prodromou's avatar Evan Prodromou

correct SQL function in Realtime_channel::getAllChannels()

parent 8187ff66
......@@ -197,7 +197,7 @@ class Realtime_channel extends Managed_DataObject
$channel->arg2 = $arg2;
}
$channel->whereAdd('modified > "' . common_sql_time(time() - self::TIMEOUT) . '"');
$channel->whereAdd('modified > "' . common_sql_date(time() - self::TIMEOUT) . '"');
$channels = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment