]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct SQL function in Realtime_channel::getAllChannels()
authorEvan Prodromou <evan@status.net>
Mon, 11 Jul 2011 18:14:53 +0000 (14:14 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 11 Jul 2011 18:14:53 +0000 (14:14 -0400)
plugins/Realtime/Realtime_channel.php

index 39d89fbf9f886bbbb6f5590f9a461e86a06a02dc..23292cd12b50c277eb483796152c4838a0428e1f 100644 (file)
@@ -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();