From 1e919d475e8f0b1f41094cd1c9a24db6ff8fac9f Mon Sep 17 00:00:00 2001 From: Willem Stuursma Date: Mon, 25 Jul 2016 13:48:46 +0200 Subject: [PATCH] Depend on autoloading --- library/Zend/Uri.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/library/Zend/Uri.php b/library/Zend/Uri.php index 3b35b01..493c8a4 100644 --- a/library/Zend/Uri.php +++ b/library/Zend/Uri.php @@ -132,14 +132,6 @@ public static function factory($uri = 'http', $className = null) } } - // require_once 'Zend/Loader.php'; - try { - Zend_Loader::loadClass($className); - } catch (Exception $e) { - // require_once 'Zend/Uri/Exception.php'; - throw new Zend_Uri_Exception("\"$className\" not found"); - } - $schemeHandler = new $className($scheme, $schemeSpecific); if (! $schemeHandler instanceof Zend_Uri) {