summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-14 15:39:02 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-14 15:39:02 -0400
commit3baa1c6a85892d710f7bb51b742bf288d0d7aac9 (patch)
tree2256acf9d7d1fa584f22bf18c9e4143d7625d4b9
parent86533d99d760b7d6b3a6a047898eec5e25497138 (diff)
pass proper args for realtime recipe methods
-rw-r--r--plugins/Realtime/RealtimePlugin.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php
index cb3b30845..c9483f991 100644
--- a/plugins/Realtime/RealtimePlugin.php
+++ b/plugins/Realtime/RealtimePlugin.php
@@ -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)
{
}