From: Evan Prodromou Date: Mon, 11 Jul 2011 18:14:53 +0000 (-0400) Subject: correct SQL function in Realtime_channel::getAllChannels() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=235bc84e4d40bbe4b225207397f6c21d6d0ad1b8;p=quix0rs-gnu-social.git correct SQL function in Realtime_channel::getAllChannels() --- diff --git a/plugins/Realtime/Realtime_channel.php b/plugins/Realtime/Realtime_channel.php index 39d89fbf9f..23292cd12b 100644 --- a/plugins/Realtime/Realtime_channel.php +++ b/plugins/Realtime/Realtime_channel.php @@ -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();