Skip to content

Commit 7ffde7c

Browse files
committed
Set timeline to false by default
1 parent acd2424 commit 7ffde7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Barryvdh/Debugbar/LaravelDebugBar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function boot(){
206206

207207
if($this->shouldCollect('db', true) and isset($this->app['db'])){
208208
$db = $this->app['db'];
209-
if( $debugbar->hasCollector('time') && $this->app['config']->get('laravel-debugbar::config.options.db.timeline', true)){
209+
if( $debugbar->hasCollector('time') && $this->app['config']->get('laravel-debugbar::config.options.db.timeline', false)){
210210
$timeCollector = $debugbar->getCollector('time');
211211
}else{
212212
$timeCollector = null;

src/config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
'options' => array(
109109
'db' => array(
110110
'with_params' => true, // Render SQL with the parameters substituted
111-
'timeline' => true, // Add the queries to the timeline
111+
'timeline' => false, // Add the queries to the timeline
112112
),
113113
'mail' => array(
114114
'full_log' => false

0 commit comments

Comments
 (0)