forked from GNUsocial/gnu-social
pass proper args for realtime recipe methods
This commit is contained in:
parent
86533d99d7
commit
3baa1c6a85
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user