Permalink
Browse files

removed jimport

  • Loading branch information...
1 parent 3798d1e commit 735400b43c2c085a86373eb82adf4fda0143dd08 @kaviththiranga committed Aug 15, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −6 libraries/joomla/media/combiner.php
  2. +0 −6 libraries/joomla/media/compressor.php
@@ -145,9 +145,6 @@ public static function getCombiners()
// Derive the class name from the type.
$class = str_ireplace('.php', '', trim($type));
- // Load the class
- jimport('joomla.media.combiner.' . $class);
-
// If the class doesn't exist we have nothing left to do but look at the next type. We did our best.
if (!class_exists('JMediaCombiner' . ucfirst($class)))
{
@@ -195,9 +192,6 @@ public static function getInstance( $options = array())
// Derive the class name from the type.
$class = 'JMediaCombiner' . ucfirst(strtolower($options['type']));
- // Load the class
- jimport('joomla.media.combiner.' . $class);
-
// If the class still doesn't exist we have nothing left to do but throw an exception. We did our best.
if (!class_exists($class))
{
@@ -175,9 +175,6 @@ public static function getCompressors()
// Derive the class name from the type.
$class = str_ireplace('.php', '', trim($type));
- // Load the class
- jimport('joomla.media.compressor.' . $class);
-
// If the class doesn't exist we have nothing left to do but look at the next type. We did our best.
if (!class_exists('JMediaCompressor' . ucfirst($class)))
{
@@ -327,9 +324,6 @@ public static function getInstance($options = array())
// Derive the class name from the type.
$class = 'JMediaCompressor' . ucfirst(strtolower($options['type']));
- // Load the class
- jimport('joomla.media.compressor.' . $class);
-
// If the class still doesn't exist we have nothing left to do but throw an exception. We did our best.
if (!class_exists($class))
{

0 comments on commit 735400b

Please sign in to comment.