Permalink
Browse files

revert part of last commit

  • Loading branch information...
1 parent e31102f commit c76b640a9b38ec441f5ffc64019e218d29628172 @alrik alrik committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Mvc/Service/RequestFactory.php
@@ -31,7 +31,7 @@ class RequestFactory implements FactoryInterface
*/
public function createService(ServiceLocatorInterface $serviceLocator)
{
- if (class_exists("Zend\Console\Console") && Console::isConsole()) {
+ if (Console::isConsole()) {
return new ConsoleRequest();
}

0 comments on commit c76b640

Please sign in to comment.