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

index cb55c5c975627ec72dc5276601adc6d8d7269b34..4461a1d421f5d62aeb3683af442afba08e677251 100644 (file)
@@ -1039,10 +1039,10 @@ class Share {
                                if ($itemType == 'file' || $itemType == 'folder') {
                                        $select = '`*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`,'
                                                .' `share_type`, `share_with`, `file_source`, `path`, `permissions`, `stime`,'
-                                               .' `expiration`, `token`, `storage`, `storage`, `mail_send`';
+                                               .' `expiration`, `token`, `storage`, `mail_send`';
                                } else {
                                        $select = '`id`, `item_type`, `item_source`, `parent`, `share_type`, `share_with`, `permissions`,'
-                                               .' `stime`, `file_source`, `expiration`, `token`, `storage`, `mail_send`';
+                                               .' `stime`, `file_source`, `expiration`, `token`, `mail_send`';
                                }
                        } else {
                                if ($fileDependent) {