Permalink
Browse files

Modify the HTTP package to use the new autoloader conventions.

  • Loading branch information...
LouisLandry authored and ianmacl committed Nov 6, 2011
1 parent 649e5cc commit 4b40e4d3c6a2c08a9204671ab9e86630f5c9f7bd
@@ -10,10 +10,6 @@
defined('JPATH_PLATFORM') or die();
jimport('joomla.environment.uri');
-jimport('joomla.http.response');
-
-JLoader::discover('JHttpTransport', dirname(__FILE__) . '/transports');
-JLoader::register('JHttpTransport', dirname(__FILE__) . '/interface.php');
/**
* HTTP client class.
@@ -9,8 +9,6 @@
defined('JPATH_PLATFORM') or die();
-jimport('joomla.http.response');
-
/**
* HTTP transport class for using cURL.
*
@@ -9,8 +9,6 @@
defined('JPATH_PLATFORM') or die();
-jimport('joomla.http.response');
-
/**
* HTTP transport class for using sockets directly.
*
@@ -9,8 +9,6 @@
defined('JPATH_PLATFORM') or die();
-jimport('joomla.http.response');
-
/**
* HTTP transport class for using PHP streams.
*

0 comments on commit 4b40e4d

Please sign in to comment.