]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP / Oracle compatibility, make SQL syntax valid
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 24 Jul 2013 12:55:25 +0000 (14:55 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Wed, 24 Jul 2013 12:55:25 +0000 (14:55 +0200)
apps/user_ldap/lib/access.php

index f33ac36b0081d1a7dfdcb90d5f8a648218a72977..8914246b5212b2b63beb191f5098f79108cc12b3 100644 (file)
@@ -562,7 +562,7 @@ abstract class Access {
 
                $sqlAdjustment = '';
                $dbtype = \OCP\Config::getSystemValue('dbtype');
-               if($dbtype == 'mysql') {
+               if($dbtype == 'mysql' || $dbtype == 'oci') {
                        $sqlAdjustment = 'FROM DUAL';
                }