LDAP: fix MySQL-query with DUAL table by removing wrong backticks. Got broke when they were added to SQL queries.

This commit is contained in:
Arthur Schiwon 2012-09-17 22:50:08 +02:00
parent 2a8ff8a0d4
commit 6444c27e6a

View file

@ -385,7 +385,7 @@ abstract class Access {
$sqlAdjustment = '';
$dbtype = \OCP\Config::getSystemValue('dbtype');
if($dbtype == 'mysql') {
$sqlAdjustment = 'FROM `dual`';
$sqlAdjustment = 'FROM DUAL';
}
$insert = \OCP\DB::prepare('