Skip to content

Commit

Permalink
Boot before clearing storage, fixes barryvdh#247
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Feb 17, 2016
1 parent 515cb00 commit 0d62507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/ClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public function __construct(DebugBar $debugbar)

public function fire()
{
$this->debugbar->boot();

if ($storage = $this->debugbar->getStorage()) {
$storage->clear();
$this->info('Debugbar Storage cleared!');
Expand Down

0 comments on commit 0d62507

Please sign in to comment.