Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
304
Merge Requests
304
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
f368409f
Commit
f368409f
authored
Aug 30, 2012
by
katbailey
Committed by
effulgentsia
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The database service has been added to the DIC in core so ended up being duplicated here
parent
dca406aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
core/lib/Drupal/Core/CoreBundle.php
core/lib/Drupal/Core/CoreBundle.php
+0
-9
No files found.
core/lib/Drupal/Core/CoreBundle.php
View file @
f368409f
...
...
@@ -59,15 +59,6 @@ public function build(ContainerBuilder $container) {
$container
->
register
(
'router.dumper'
,
'\Drupal\Core\Routing\MatcherDumper'
)
->
addArgument
(
new
Reference
(
'database'
));
$container
->
register
(
'database'
,
'Drupal\Core\Database\Connection'
)
->
setFactoryClass
(
'Drupal\Core\Database\Database'
)
->
setFactoryMethod
(
'getConnection'
)
->
addArgument
(
'default'
);
$container
->
register
(
'database.slave'
,
'Drupal\Core\Database\Connection'
)
->
setFactoryClass
(
'Drupal\Core\Database\Database'
)
->
setFactoryMethod
(
'getConnection'
)
->
addArgument
(
'slave'
);
// @todo Replace below lines with the commented out block below it when it's
// performant to do so: http://drupal.org/node/1706064.
$dispatcher
=
$container
->
get
(
'dispatcher'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment