Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcos Zuriaga <wolfi@wolfi.es>2016-10-15 18:55:07 +0300
committerMarcos Zuriaga <wolfi@wolfi.es>2016-10-15 18:55:07 +0300
commita327103bc0001287424addd8f5bf28a160e329ed (patch)
tree6f7440680ac2dc25ff065d053d4530282ad6f24e /lib
parent2713741eac6c725c1cd580ee8d71d4fdce9d9d98 (diff)
Removed some pgsql useless check
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/ShareRequestMapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/ShareRequestMapper.php b/lib/Db/ShareRequestMapper.php
index f43f1294..aa27b090 100644
--- a/lib/Db/ShareRequestMapper.php
+++ b/lib/Db/ShareRequestMapper.php
@@ -43,7 +43,7 @@ class ShareRequestMapper extends Mapper {
* @return ShareRequest[]
*/
public function getRequestsByItemGuidGroupedByUser($item_guid){
- if (strtolower($this->db->getDatabasePlatform()->getName()) === 'mysql' || strtolower($this->db->getDatabasePlatform()->getName()) == 'pgsql'){
+ if (strtolower($this->db->getDatabasePlatform()->getName()) === 'mysql'){
$this->db->executeQuery("SET sql_mode = '';");
}
$q = "SELECT *, target_user_id FROM *PREFIX*" . self::TABLE_NAME . " WHERE item_guid = ? GROUP BY target_user_id;";