From 3baa1c6a85892d710f7bb51b742bf288d0d7aac9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 14 Jul 2009 15:39:02 -0400 Subject: [PATCH] pass proper args for realtime recipe methods --- plugins/Realtime/RealtimePlugin.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index cb3b30845e..c9483f991c 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) { } -- 2.39.5