summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-09-02 17:01:10 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-09-02 17:01:10 +0200
commit983da0d78fe13814fb771eb90dd2f10a89e0bcc6 (patch)
treee4d43c779a79dad1fe2990c41083231b444d82c5 /lib/public
parentb918c06be60eea9edde26b05621898627c71130d (diff)
downloadnextcloud-server-983da0d78fe13814fb771eb90dd2f10a89e0bcc6.tar.gz
nextcloud-server-983da0d78fe13814fb771eb90dd2f10a89e0bcc6.zip
fix db queries
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/share.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index c2dd0096ab9..cb55c5c9756 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -1053,11 +1053,11 @@ class Share {
$select = '`*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`, `uid_owner`, '
.'`share_type`, `share_with`, `file_source`, `path`, `file_target`, '
.'`permissions`, `expiration`, `storage`, `*PREFIX*filecache`.`parent` as `file_parent`, '
- .'`name`, `mtime`, `mimetype`, `mimepart`, `size`, `encrypted`, `etag`, `storage`, `mail_send`';
+ .'`name`, `mtime`, `mimetype`, `mimepart`, `size`, `encrypted`, `etag`, `mail_send`';
} else {
$select = '`*PREFIX*share`.`id`, `item_type`, `item_source`, `item_target`,
`*PREFIX*share`.`parent`, `share_type`, `share_with`, `uid_owner`,
- `file_source`, `path`, `file_target`, `permissions`, `stime`, `expiration`, `token`, `storage`, `storage`, `mail_send`';
+ `file_source`, `path`, `file_target`, `permissions`, `stime`, `expiration`, `token`, `storage`, `mail_send`';
}
} else {
$select = '*';