From efb44640d111dfae65986258a9fd3e5d9fdf4593 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 30 Jun 2012 16:47:41 +0200 Subject: [PATCH] removed unneeded code --- autoload.php.dist | 5 ----- 1 file changed, 5 deletions(-) diff --git a/autoload.php.dist b/autoload.php.dist index 132da3af1c179..93aa33f9e5f16 100644 --- a/autoload.php.dist +++ b/autoload.php.dist @@ -15,8 +15,3 @@ if (!function_exists('intl_get_error_code')) { AnnotationRegistry::registerLoader(array($loader, 'loadClass')); AnnotationRegistry::registerFile(__DIR__.'/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php'); - -if (is_file(__DIR__.'/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php')) { - require_once __DIR__.'/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php'; - Swift::registerAutoload(function () { require __DIR__.'/vendor/swiftmailer/swiftmailer/lib/swift_init.php'; }); -}