forked from GNUsocial/gnu-social
Merge commit 'refs/merge-requests/230' of git://gitorious.org/statusnet/mainline into merge-requests/230
This commit is contained in:
@@ -109,7 +109,7 @@ class AimPlugin extends ImPlugin
|
||||
|
||||
function onStartImDaemonIoManagers(&$classes)
|
||||
{
|
||||
parent::onStartImDaemonIoManagers(&$classes);
|
||||
parent::onStartImDaemonIoManagers($classes);
|
||||
$classes[] = new AimManager($this); // handles sending/receiving
|
||||
return true;
|
||||
}
|
||||
|
@@ -267,6 +267,9 @@ class DomainStatusNetworkInstaller extends Installer
|
||||
function createDatabase()
|
||||
{
|
||||
// Create the New DB
|
||||
/* FIXME
|
||||
* Extension 'mysql_' is deprecated since PHP 5.5 - use mysqli instead.
|
||||
*/
|
||||
$res = mysql_connect($this->host, $this->rootname, $this->rootpass);
|
||||
if (!$res) {
|
||||
throw new ServerException("Cannot connect to {$this->host} as {$this->rootname}.");
|
||||
|
@@ -147,7 +147,7 @@ class IrcPlugin extends ImPlugin {
|
||||
* @return boolean
|
||||
*/
|
||||
public function onStartImDaemonIoManagers(&$classes) {
|
||||
parent::onStartImDaemonIoManagers(&$classes);
|
||||
parent::onStartImDaemonIoManagers($classes);
|
||||
$classes[] = new IrcManager($this); // handles sending/receiving
|
||||
return true;
|
||||
}
|
||||
|
@@ -120,7 +120,7 @@ class MsnPlugin extends ImPlugin {
|
||||
* @return boolean
|
||||
*/
|
||||
public function onStartImDaemonIoManagers(&$classes) {
|
||||
parent::onStartImDaemonIoManagers(&$classes);
|
||||
parent::onStartImDaemonIoManagers($classes);
|
||||
$classes[] = new MsnManager($this); // handles sending/receiving
|
||||
return true;
|
||||
}
|
||||
|
@@ -249,7 +249,7 @@ class TwitterBridgePlugin extends Plugin
|
||||
*
|
||||
* @return boolean hook return
|
||||
*/
|
||||
function onGetValidDaemons($daemons)
|
||||
function onGetValidDaemons(&$daemons)
|
||||
{
|
||||
if (self::hasKeys()) {
|
||||
array_push(
|
||||
|
@@ -310,7 +310,7 @@ class XmppPlugin extends ImPlugin
|
||||
|
||||
function onStartImDaemonIoManagers(&$classes)
|
||||
{
|
||||
parent::onStartImDaemonIoManagers(&$classes);
|
||||
parent::onStartImDaemonIoManagers($classes);
|
||||
$classes[] = new XmppManager($this); // handles pings/reconnects
|
||||
return true;
|
||||
}
|
||||
@@ -440,7 +440,7 @@ class XmppPlugin extends ImPlugin
|
||||
*
|
||||
* @return boolean hook return
|
||||
*/
|
||||
function onGetValidDaemons($daemons)
|
||||
function onGetValidDaemons(&$daemons)
|
||||
{
|
||||
if( isset($this->server) &&
|
||||
isset($this->port) &&
|
||||
|
Reference in New Issue
Block a user