cvs: pear /HTTP_WebDAV_Server/Server Filesystem.php
| From: | Hartmut Holzgraefe | Date: | Sat, 16 Apr 2005 22:36:41 +0000 |
| Subject: | cvs: pear /HTTP_WebDAV_Server/Server Filesystem.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-31209@lists.php.net to get a copy of this message | ||
hholzgra Sat Apr 16 18:36:41 2005 EDT
Modified files:
/pear/HTTP_WebDAV_Server/Server Filesystem.php
Log:
naming style fixes
http://cvs.php.net/diff.php/pear/HTTP_WebDAV_Server/Server/Filesystem.php?r1=1.13&r2=1.14&ty=u
Index: pear/HTTP_WebDAV_Server/Server/Filesystem.php
diff -u pear/HTTP_WebDAV_Server/Server/Filesystem.php:1.13
pear/HTTP_WebDAV_Server/Server/Filesystem.php:1.14
--- pear/HTTP_WebDAV_Server/Server/Filesystem.php:1.13 Sat Apr 16 18:35:08 2005
+++ pear/HTTP_WebDAV_Server/Server/Filesystem.php Sat Apr 16 18:36:41 2005
@@ -456,7 +456,7 @@
* @param array general parameter passing array
* @return bool true on success
*/
- function delete($options)
+ function DELETE($options)
{
$path = $this->base . "/" .$options["path"];
@@ -482,9 +482,9 @@
* @param array general parameter passing array
* @return bool true on success
*/
- function move($options)
+ function MOVE($options)
{
- return $this->copy($options, true);
+ return $this->COPY($options, true);
}
/**
@@ -493,7 +493,7 @@
* @param array general parameter passing array
* @return bool true on success
*/
- function copy($options, $del=false)
+ function COPY($options, $del=false)
{
// TODO Property updates still broken (Litmus should detect this?)
@@ -573,7 +573,7 @@
* @param array general parameter passing array
* @return bool true on success
*/
- function proppatch(&$options)
+ function PROPPATCH(&$options)
{
global $prefs, $tab;
@@ -607,7 +607,7 @@
* @param array general parameter passing array
* @return bool true on success
*/
- function lock(&$options)
+ function LOCK(&$options)
{
if (isset($options["update"])) { // Lock Update
$query = "UPDATE locks SET expires = ".(time()+300);
@@ -641,7 +641,7 @@
* @param array general parameter passing array
* @return bool true on success
*/
- function unlock(&$options)
+ function UNLOCK(&$options)
{
$query = "DELETE FROM locks
WHERE path = '$options[path]'