From 235bc84e4d40bbe4b225207397f6c21d6d0ad1b8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 11 Jul 2011 14:14:53 -0400 Subject: [PATCH] correct SQL function in Realtime_channel::getAllChannels() --- plugins/Realtime/Realtime_channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5