Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sccuot-nc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CIT Uni Münster
sccuot-nc
Merge requests
!1
Devel
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Devel
devel
into
main
Overview
0
Commits
39
Pipelines
0
Changes
2
Merged
Dr. Marcel Wunderlich
requested to merge
devel
into
main
6 months ago
Overview
0
Commits
39
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
412b8b75
Prev
Next
Show latest version
2 files
+
13
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
412b8b75
Fix: PositionalParameter
· 412b8b75
Lidiya Gelemeev
authored
6 months ago
lib/Db/OC/FilecacheMapper.php
+
5
−
5
Options
@@ -10,15 +10,15 @@ use OCP\IDBConnection;
class
FilecacheMapper
extends
ExtMapper
{
const
FILECACHE_TABLE
=
'filecache'
;
private
in
t
$accountsState
=
0
;
private
str
in
g
$accountsState
=
''
;
public
function
__construct
(
IDBConnection
$db
,
int
$chunkSize
,
in
t
$accountsState
=
0
)
{
public
function
__construct
(
IDBConnection
$db
,
int
$chunkSize
,
str
in
g
$accountsState
=
''
)
{
parent
::
__construct
(
$db
,
self
::
FILECACHE_TABLE
,
$chunkSize
);
$this
->
accountsState
=
$accountsState
;
}
public
function
setAccountsState
(
in
t
$state
)
{
public
function
setAccountsState
(
str
in
g
$state
)
{
$this
->
accountsState
=
$state
;
}
@@ -138,8 +138,8 @@ class FilecacheMapper extends ExtMapper {
if
(
$this
->
accountsState
!=
0
)
{
$query
->
andWhere
(
$query
->
expr
()
->
andX
(
$query
->
expr
()
->
eq
(
'configkey'
,
$query
->
createParameter
(
'enabled'
)),
$query
->
expr
()
->
in
(
'configvalue'
,
$query
->
createParameter
(
'true'
))
$query
->
createP
ositionalP
arameter
(
'enabled'
)),
$query
->
expr
()
->
in
(
'configvalue'
,
$query
->
createP
ositionalP
arameter
(
'true'
))
));
}
}
Loading