]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix db queries
authorBjoern Schiessle <schiessle@owncloud.com>
Mon, 2 Sep 2013 15:01:10 +0000 (17:01 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 2 Sep 2013 15:01:10 +0000 (17:01 +0200)
lib/public/share.php

index c2dd0096ab92e215d65b45d9e6d514dcf5876176..cb55c5c975627ec72dc5276601adc6d8d7269b34 100644 (file)
@@ -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 = '*';