cvs: php4 /pear/PEAR Dependency.php
| From: | Tomas V.V.Cox | Date: | Sun, 12 May 2002 14:42:03 +0000 |
| Subject: | cvs: php4 /pear/PEAR Dependency.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3779@lists.php.net to get a copy of this message | ||
cox Sun May 12 10:42:03 2002 EDT
Modified files:
/php4/pear/PEAR Dependency.php
Log:
Make <dep type="pkg" rel="has"> avaible
Index: php4/pear/PEAR/Dependency.php
diff -u php4/pear/PEAR/Dependency.php:1.6 php4/pear/PEAR/Dependency.php:1.7
--- php4/pear/PEAR/Dependency.php:1.6 Tue Apr 9 10:12:12 2002
+++ php4/pear/PEAR/Dependency.php Sun May 12 10:42:03 2002
@@ -17,7 +17,7 @@
// | Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: Dependency.php,v 1.6 2002/04/09 14:12:12 cox Exp $
+// $Id: Dependency.php,v 1.7 2002/05/12 14:42:03 cox Exp $
/**
* Methods for dependencies check. Based on Stig's dependencies RFC
@@ -100,6 +100,8 @@
return "'$name' PEAR package version " .
$this->signOperator($operator) . " $req is required";
}
+ return false;
+ } elseif ($relation == 'has') {
return false;
}
return "Relation '$relation' with requirement '$req' is not
supported";