cvs: pearweb /include pear-rest.php
| From: | Martin Jansen | Date: | Sun, 24 Jul 2005 17:32:32 +0000 |
| Subject: | cvs: pearweb /include pear-rest.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-33270@lists.php.net to get a copy of this message | ||
mj Sun Jul 24 13:32:32 2005 EDT
Modified files:
/pearweb/include pear-rest.php
Log:
* Removed redundant variable definition.
http://cvs.php.net/diff.php/pearweb/include/pear-rest.php?r1=1.13&r2=1.14&ty=u
Index: pearweb/include/pear-rest.php
diff -u pearweb/include/pear-rest.php:1.13 pearweb/include/pear-rest.php:1.14
--- pearweb/include/pear-rest.php:1.13 Sun Jul 24 13:29:50 2005
+++ pearweb/include/pear-rest.php Sun Jul 24 13:32:32 2005
@@ -70,8 +70,7 @@
return;
}
// remove all category info
- System::rm(array('-r', $this->_restdir . DIRECTORY_SEPARATOR . 'c'
- . DIRECTORY_SEPARATOR . urlencode($category)));
+ System::rm(array('-r', $cdir . DIRECTORY_SEPARATOR . urlencode($category)));
}
function saveAllPackagesREST()