]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
pass proper args for realtime recipe methods
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 14 Jul 2009 19:39:02 +0000 (15:39 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 14 Jul 2009 19:39:02 +0000 (15:39 -0400)
plugins/Realtime/RealtimePlugin.php

index cb3b30845ed612986682410e2c9c3dd9dc3bf48e..c9483f991ce991d5f2494d2ed9cb4e9c56bf25d0 100644 (file)
@@ -198,10 +198,11 @@ class RealtimePlugin extends Plugin
 
     function _getScripts()
     {
-        return array(common_local_path('plugins/Realtime/realtimeupdater.js'));
+        return array(common_local_path('plugins/Realtime/realtimeupdater.js'),
+                     common_local_path('plugins/Realtime/json2.js'));
     }
 
-    function _updateInitialize()
+    function _updateInitialize($timeline, $user_id)
     {
         return '; ';
     }
@@ -210,7 +211,7 @@ class RealtimePlugin extends Plugin
     {
     }
 
-    function _publish()
+    function _publish($timeline, $json)
     {
     }