Skip to content

Commit

Permalink
Revert "Only load autoloader if exists."
Browse files Browse the repository at this point in the history
We bundle the autoloader so of course it exists.

This reverts commit 953e8c6.
  • Loading branch information
yunosh committed May 5, 2014
1 parent 45cafa6 commit 0b32aee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions framework/Test/lib/Horde/Test/Autoload.php
Expand Up @@ -41,9 +41,7 @@ public static function init()
return;
}

if (file_exists(__DIR__ . '/../../../bundle/vendor/autoload.php')) {
require __DIR__ . '/../../../bundle/vendor/autoload.php';
}
require __DIR__ . '/../../../bundle/vendor/autoload.php';

spl_autoload_register(
function($class) {
Expand Down

0 comments on commit 0b32aee

Please sign in to comment.