Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
c2e1a308
Commit
c2e1a308
authored
Aug 11, 2012
by
Crell
Committed by
effulgentsia
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flush the dumper after each use, so that we don't end up re-saving old routes.
parent
b1fd850d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
core/lib/Drupal/Core/Routing/MatcherDumper.php
core/lib/Drupal/Core/Routing/MatcherDumper.php
+4
-0
No files found.
core/lib/Drupal/Core/Routing/MatcherDumper.php
View file @
c2e1a308
...
...
@@ -120,6 +120,10 @@ public function dump(array $options = array()) {
$insert
->
execute
();
// We want to reuse the dumper for multiple route sets, so on dump, flush
// the queued routes.
$this
->
routes
=
NULL
;
// Transaction ends here.
}
...
...
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