Move XMPPHP from core extlibs to Xmpp plugin extlibs

This commit is contained in:
Brion Vibber 2010-05-05 16:52:31 -07:00
parent f803c1fbfe
commit ddc7811a7b
9 changed files with 1 additions and 3 deletions

View File

@ -34,8 +34,6 @@ if (!defined('STATUSNET')) {
exit(1); exit(1);
} }
set_include_path(get_include_path() . PATH_SEPARATOR . INSTALLDIR . '/extlib/XMPPHP');
/** /**
* Plugin for XMPP * Plugin for XMPP
* *
@ -287,7 +285,7 @@ class XmppPlugin extends ImPlugin
switch ($cls) switch ($cls)
{ {
case 'XMPPHP_XMPP': case 'XMPPHP_XMPP':
require_once 'XMPP.php'; require_once $dir . '/extlib/XMPPHP/XMPP.php';
return false; return false;
case 'Sharing_XMPP': case 'Sharing_XMPP':
case 'Queued_XMPP': case 'Queued_XMPP':