diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-07-05 10:09:42 (GMT) |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-07-05 10:09:42 (GMT) |
commit | 948fff1815a864bccf92ba4f53389b08b22bd178 (patch) | |
tree | cf89423d2d5d094d6a5ffdd6ca598f59415bbcab | |
parent | 315c38c54dd3832b44b8a8bfd1497d1d3326801c (diff) | |
download | iRony-948fff1815a864bccf92ba4f53389b08b22bd178.tar.gz |
Fixed file move/rename
-rw-r--r-- | lib/Kolab/DAV/Node.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/DAV/Node.php b/lib/Kolab/DAV/Node.php index 72bd6bc..6d48075 100644 --- a/lib/Kolab/DAV/Node.php +++ b/lib/Kolab/DAV/Node.php @@ -130,7 +130,7 @@ class Node implements \Sabre\DAV\INode array_pop($path); $newname = implode('/', $path) . '/' . $name; - $method = (is_a($this, 'File') ? 'file' : 'folder') . '_move'; + $method = (is_a($this, 'Kolab\\DAV\\File') ? 'file' : 'folder') . '_move'; try { $this->backend->$method($this->path, $newname); |