1
0
Fork 0

Remove "remove" from request

pull/8533/head
Jordi Boggiano 2020-01-17 10:08:21 +01:00
parent 304753ff69
commit e162cc6f0a
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 0 additions and 9 deletions

View File

@ -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)) {

View File

@ -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
*