Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
module_usage
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
module_usage
Merge requests
!4
Fixed drupal 11 issues
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Fixed drupal 11 issues
issue/module_usage-3485931:3485931-d11-version-of
into
1.0.x
Overview
0
Commits
1
Pipelines
0
Changes
2
Closed
sarwan verma
requested to merge
issue/module_usage-3485931:3485931-d11-version-of
into
1.0.x
5 months ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
1.0.x
1.0.x (base)
and
latest version
latest version
590e6b8a
1 commit,
5 months ago
2 files
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/Services/QueryService.php
+
3
−
1
Options
@@ -3,6 +3,7 @@
namespace
Drupal\module_usage\Services
;
use
Drupal\Core\Database\Connection
;
use
Drupal\Core\Database\Database
;
/**
* The query service, responsible for all database interaction.
@@ -291,7 +292,8 @@ class QueryService {
* Roll back a transaction.
*/
private
function
rollback
()
:
void
{
$this
->
database
->
rollBack
();
$transaction
=
$this
->
database
->
startTransaction
();
$transaction
->
rollBack
();
}
/**
Loading