Plugin onAutoload replaces _ with / in lib paths, this renames some classes.

This commit is contained in:
Mikael Nordfeldth
2013-10-02 14:07:53 +02:00
parent 3e15bab965
commit ba5e90164c
10 changed files with 12 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
class Queued_XMPP extends XMPPHP_XMPP
class QueuedXMPP extends XMPPHP_XMPP
{
/**
* Reference to the XmppPlugin object we're hooked up to.

View File

@@ -34,7 +34,7 @@ if (!defined('STATUSNET')) {
exit(1);
}
class Sharing_XMPP extends XMPPHP_XMPP
class SharingXMPP extends XMPPHP_XMPP
{
function getSocket()
{

View File

@@ -131,7 +131,7 @@ class XmppManager extends ImManager
{
if (!$this->conn || $this->conn->isDisconnected()) {
$resource = 'queue' . posix_getpid();
$this->conn = new Sharing_XMPP($this->plugin->host ?
$this->conn = new SharingXMPP($this->plugin->host ?
$this->plugin->host :
$this->plugin->server,
$this->plugin->port,