Преглед на файлове

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;
     }
 
     /**