summaryrefslogtreecommitdiffstats
path: root/inc/HTTP/WebDAV
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-07-04 10:02:10 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-07-04 10:02:10 +0200
commit0d299885befea3005d24330d32c0fa40075a2c94 (patch)
tree6e23eb6c70e857dca57395abc6facfed1150860f /inc/HTTP/WebDAV
parent8c8979f11e1f454d3b0e866880a4be6d7daf7f82 (diff)
downloadnextcloud-server-0d299885befea3005d24330d32c0fa40075a2c94.tar.gz
nextcloud-server-0d299885befea3005d24330d32c0fa40075a2c94.zip
fix silly mistake in previous commit
Diffstat (limited to 'inc/HTTP/WebDAV')
-rwxr-xr-xinc/HTTP/WebDAV/Server/Filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/HTTP/WebDAV/Server/Filesystem.php b/inc/HTTP/WebDAV/Server/Filesystem.php
index 7826a690a55..6c8382b4467 100755
--- a/inc/HTTP/WebDAV/Server/Filesystem.php
+++ b/inc/HTTP/WebDAV/Server/Filesystem.php
@@ -177,7 +177,7 @@
$info["props"][] = $this->mkprop("resourcetype", "");
if ( OC_FILESYSTEM::is_readable($fspath)) {
$info["props"][] = $this->mkprop("getcontenttype", $this->_mimetype($fspath));
- } else { "SELECT ns, name, value FROM properties WHERE path = '$path'";
+ } else {
$info["props"][] = $this->mkprop("getcontenttype", "application/x-non-readable");
}
$info["props"][] = $this->mkprop("getcontentlength", OC_FILESYSTEM::filesize($fspath));