Commit c2e1a308 authored by Crell's avatar Crell Committed by effulgentsia
Browse files

Flush the dumper after each use, so that we don't end up re-saving old routes.

parent b1fd850d
......@@ -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.
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment