浏览代码

fix(theming): Fix query for configvalue as CLOB on OCI

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v26.0.0beta2
Julius Härtl 1年前
父节点
当前提交
ecccff8bd2
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      apps/theming/lib/Jobs/MigrateBackgroundImages.php

+ 2
- 1
apps/theming/lib/Jobs/MigrateBackgroundImages.php 查看文件

@@ -30,6 +30,7 @@ use OCA\Theming\AppInfo\Application;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\IJobList;
use OCP\BackgroundJob\QueuedJob;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\Files\AppData\IAppDataFactory;
use OCP\Files\IAppData;
use OCP\Files\NotFoundException;
@@ -92,7 +93,7 @@ class MigrateBackgroundImages extends QueuedJob {
->from('preferences')
->where($selector->expr()->eq('appid', $selector->createNamedParameter('theming')))
->andWhere($selector->expr()->eq('configkey', $selector->createNamedParameter('background')))
->andWhere($selector->expr()->eq('configvalue', $selector->createNamedParameter('custom')))
->andWhere($selector->expr()->eq('configvalue', $selector->createNamedParameter('custom', IQueryBuilder::PARAM_STR), IQueryBuilder::PARAM_STR))
->executeQuery();

$userIds = $result->fetchAll(\PDO::FETCH_COLUMN);

正在加载...
取消
保存