Browse Source

Allow downgrades and uninstalls in the default policy

Nils Adermann 13 years ago
parent
commit
2056c4c732
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Composer/DependencyResolver/DefaultPolicy.php

+ 2 - 2
src/Composer/DependencyResolver/DefaultPolicy.php

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