1
0
Fork 0

Allow downgrades and uninstalls in the default policy

pull/72/head
Nils Adermann 2011-10-29 19:23:52 +02:00
parent d3aa8336dc
commit 2056c4c732
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ class DefaultPolicy implements PolicyInterface
{
public function allowUninstall()
{
return false;
return true;
}
public function allowDowngrade()
{
return false;
return true;
}
public function versionCompare(PackageInterface $a, PackageInterface $b, $operator)