Skip to content
Browse files

Modify the HTTP package to use the new autoloader conventions.

  • Loading branch information...
1 parent 649e5cc commit 4b40e4d3c6a2c08a9204671ab9e86630f5c9f7bd @LouisLandry LouisLandry committed with Nov 6, 2011
View
4 libraries/joomla/http/http.php
@@ -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.
View
0 libraries/joomla/http/interface.php → libraries/joomla/http/transport.php
File renamed without changes.
View
2 libraries/joomla/http/transports/curl.php → libraries/joomla/http/transport/curl.php
@@ -9,8 +9,6 @@
defined('JPATH_PLATFORM') or die();
-jimport('joomla.http.response');
-
/**
* HTTP transport class for using cURL.
*
View
2 libraries/joomla/http/transports/socket.php → libraries/joomla/http/transport/socket.php
@@ -9,8 +9,6 @@
defined('JPATH_PLATFORM') or die();
-jimport('joomla.http.response');
-
/**
* HTTP transport class for using sockets directly.
*
View
2 libraries/joomla/http/transports/stream.php → libraries/joomla/http/transport/stream.php
@@ -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.
Something went wrong with that request. Please try again.