Remove "remove" from request

main
Jordi Boggiano 5 years ago
parent 304753ff69
commit e162cc6f0a
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -224,10 +224,6 @@ class Problem
}
return 'Installation request for '.$packageName.$this->constraintToText($constraint).' -> satisfiable by '.$this->getPackageList($packages).'.';
case 'update':
return 'Update request for '.$packageName.$this->constraintToText($constraint).'.';
case 'remove':
return 'Removal request for '.$packageName.$this->constraintToText($constraint).'';
}
if (isset($constraint)) {

@ -38,11 +38,6 @@ class Request
$this->addJob($packageName, 'install', $constraint);
}
public function remove($packageName, ConstraintInterface $constraint = null)
{
$this->addJob($packageName, 'remove', $constraint);
}
/**
* Mark an existing package as being installed and having to remain installed
*

Loading…
Cancel
Save