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
!5
Resolve "Backend code update"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Backend code update"
4-backend-code-update
into
main
Overview
0
Commits
6
Pipelines
0
Changes
1
Merged
Lidiya Gelemeev
requested to merge
4-backend-code-update
into
main
1 month ago
Overview
0
Commits
6
Pipelines
0
Changes
1
Expand
Closes
#4 (closed)
0
0
Merge request reports
Viewing commit
d9e1383a
Prev
Next
Show latest version
1 file
+
6
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
d9e1383a
fix
· d9e1383a
Lidiya Gelemeev
authored
1 month ago
lib/Db/OC/ExternalSharesMapper.php
+
6
−
5
Options
@@ -8,11 +8,11 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
use
OCP\IDBConnection
;
class
ExternalSharesMapper
extends
ExtMapper
{
const
EXTERNAL_SHARES_TABLE
=
'share_external'
;
const
EXTERNAL_SHARES_TABLE
=
'share_external'
;
public
function
__construct
(
IDBConnection
$db
,
int
$chunkSize
)
{
parent
::
__construct
(
$db
,
self
::
EXTERNAL_SHARES_TABLE
,
$chunkSize
);
}
public
function
__construct
(
IDBConnection
$db
,
int
$chunkSize
)
{
parent
::
__construct
(
$db
,
self
::
EXTERNAL_SHARES_TABLE
,
$chunkSize
);
}
public
function
queryTotalCount
()
{
$query
=
$this
->
db
->
getQueryBuilder
();
@@ -25,5 +25,6 @@ class ExternalSharesMapper extends ExtMapper {
$result
=
$query
->
execute
()
->
fetch
();
// Return the total count as an integer
return
(
int
)
$result
[
'count'
];
return
(
int
)
$result
[
'count'
];
}
}
Loading