mirror of
https://github.com/nextcloud/server.git
synced 2026-02-11 14:54:02 -05:00
fix(theming): Fix query for configvalue as CLOB on OCI
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
371bd563c1
commit
4ee9deea00
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue