diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-22 12:21:00 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-08-02 09:48:16 +0200 |
commit | 20f8d1094ab9958dc50104a79a2ad0f0a9e0ce1a (patch) | |
tree | 6d4a58f43aa068cc593f30cbd98ce4737016423a /lib/private/User/Manager.php | |
parent | 106df7bc330a2c2e6d974e33be2bed26e22b538e (diff) | |
download | nextcloud-server-20f8d1094ab9958dc50104a79a2ad0f0a9e0ce1a.tar.gz nextcloud-server-20f8d1094ab9958dc50104a79a2ad0f0a9e0ce1a.zip |
Can not insert auto increment on oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/User/Manager.php')
-rw-r--r-- | lib/private/User/Manager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index ded807a223b..8f3c98d4b5e 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -34,6 +34,7 @@ namespace OC\User; use OC\Hooks\PublicEmitter; +use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IUser; use OCP\IUserBackend; use OCP\IUserManager; @@ -436,7 +437,7 @@ class Manager extends PublicEmitter implements IUserManager { ->from('preferences') ->where($queryBuilder->expr()->eq('appid', $queryBuilder->createNamedParameter('core'))) ->andWhere($queryBuilder->expr()->eq('configkey', $queryBuilder->createNamedParameter('enabled'))) - ->andWhere($queryBuilder->expr()->eq('configvalue', $queryBuilder->createNamedParameter('false'))); + ->andWhere($queryBuilder->expr()->eq('configvalue', $queryBuilder->createNamedParameter('false'), IQueryBuilder::PARAM_STR)); $query = $queryBuilder->execute(); |