forked from GNUsocial/gnu-social
Merge branch 'master' of git@gitorious.org:statusnet/mainline
This commit is contained in:
commit
5bf4928db8
@ -1378,8 +1378,6 @@ class Notice extends Memcached_DataObject
|
||||
}
|
||||
|
||||
$reply->free();
|
||||
|
||||
return $ids;
|
||||
}
|
||||
|
||||
function clearRepeats()
|
||||
|
@ -242,6 +242,7 @@ class StompQueueManager extends QueueManager
|
||||
parent::start($master);
|
||||
$this->_connect();
|
||||
|
||||
common_log(LOG_INFO, "Subscribing to $this->control");
|
||||
$this->con->subscribe($this->control);
|
||||
if ($this->sites) {
|
||||
foreach ($this->sites as $server) {
|
||||
|
@ -87,7 +87,7 @@ class RealtimePlugin extends Plugin
|
||||
$scripts = $this->_getScripts();
|
||||
|
||||
foreach ($scripts as $script) {
|
||||
$action->script(common_path($script));
|
||||
$action->script($script);
|
||||
}
|
||||
|
||||
$user = common_current_user();
|
||||
@ -307,7 +307,7 @@ class RealtimePlugin extends Plugin
|
||||
|
||||
function _getScripts()
|
||||
{
|
||||
return array('plugins/Realtime/realtimeupdate.js');
|
||||
return array(common_path('plugins/Realtime/realtimeupdate.js'));
|
||||
}
|
||||
|
||||
function _updateInitialize($timeline, $user_id)
|
||||
|
Loading…
Reference in New Issue
Block a user