Skip to content

Commit

Permalink
removed manual locale stub autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
bamarni committed Oct 3, 2012
1 parent 0bfa86c commit ba517db
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions autoload.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ use Doctrine\Common\Annotations\AnnotationRegistry;

if (!function_exists('intl_get_error_code')) {
require_once __DIR__.'/src/Symfony/Component/Locale/Resources/stubs/functions.php';

$loader->add('IntlDateFormatter', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
$loader->add('Collator', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
$loader->add('Locale', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
$loader->add('NumberFormatter', __DIR__.'/src/Symfony/Component/Locale/Resources/stubs');
}

AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

0 comments on commit ba517db

Please sign in to comment.