From: Arthur Schiwon Date: Wed, 24 Jul 2013 12:55:25 +0000 (+0200) Subject: LDAP / Oracle compatibility, make SQL syntax valid X-Git-Tag: v5.0.10~12^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=429f07d14294fc4e812fdb1b33ccac018b437a57;p=nextcloud-server.git LDAP / Oracle compatibility, make SQL syntax valid --- diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index f33ac36b008..8914246b521 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -562,7 +562,7 @@ abstract class Access { $sqlAdjustment = ''; $dbtype = \OCP\Config::getSystemValue('dbtype'); - if($dbtype == 'mysql') { + if($dbtype == 'mysql' || $dbtype == 'oci') { $sqlAdjustment = 'FROM DUAL'; }