Browse Source

Allow people to remove themselves as maintainer

Jordi Boggiano 9 years ago
parent
commit
4c4d749098
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Packagist/WebBundle/Controller/WebController.php

+ 1 - 1
src/Packagist/WebBundle/Controller/WebController.php

@@ -1185,7 +1185,7 @@ class WebController extends Controller
 
         if ($this->isGranted('ROLE_EDIT_PACKAGES') || $package->getMaintainers()->contains($user)) {
             $maintainerRequest = new MaintainerRequest;
-            return $this->createForm(new RemoveMaintainerRequestType(), $maintainerRequest, array('package'=>$package, 'excludeUser'=>$user));
+            return $this->createForm(new RemoveMaintainerRequestType(), $maintainerRequest, array('package'=>$package));
         }
     }