소스 검색

Removing wrong use of boolean as explained by Stof in Pull Request 174

Jérôme poskin 12 년 전
부모
커밋
da11b2032f
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/Packagist/WebBundle/Controller/WebController.php

+ 0 - 2
src/Packagist/WebBundle/Controller/WebController.php

@@ -413,8 +413,6 @@ class WebController extends Controller
         if ($this->get('security.context')->isGranted('ROLE_DELETE_PACKAGES')) {
             return $this->createFormBuilder(array())->getForm();
         }
-
-        return false;
     }
 
     /**