Skip to content

Commit

Permalink
Removing unneeded requires from binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mariano committed Apr 9, 2013
1 parent c8e7eb3 commit 4a317df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions bin/doctrine
Expand Up @@ -5,8 +5,6 @@ set_include_path(get_include_path() . PATH_SEPARATOR . implode(PATH_SEPARATOR, a
$path . 'lib'
)));

require_once $path . 'lib/vendor/doctrine-common/lib/Doctrine/Common/ClassLoader.php';

$configFile = __DIR__ . '/doctrine-cli-config.php';

$helperSet = null;
Expand Down Expand Up @@ -45,4 +43,4 @@ $cli->addCommands(array(
));
$cli->run();

?>
?>
4 changes: 1 addition & 3 deletions bin/doctrine-cli-config.php
Expand Up @@ -40,8 +40,6 @@
* Continue with doctrine cli config
*/

require_once(PLUGIN_PATH . '/_source/doctrine2/lib/Doctrine/ORM/Tools/Setup.php');

$loader = new \Doctrine\Common\ClassLoader('Doctrine\DBAL\Migrations', PLUGIN_PATH . '/_source/migrations/lib');
$loader->register();

Expand All @@ -55,4 +53,4 @@
'dialog' => new \Symfony\Component\Console\Helper\DialogHelper()
));

?>
?>

0 comments on commit 4a317df

Please sign in to comment.