mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-28 19:04:15 +08:00
Removed some pgsql useless check
This commit is contained in:
parent
2713741eac
commit
a327103bc0
1 changed files with 1 additions and 1 deletions
|
@ -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;";
|
||||
|
|
Loading…
Reference in a new issue