Code clean up.

This commit is contained in:
James Cole
2017-11-15 10:52:29 +01:00
parent aee17221eb
commit 649dca77f5
305 changed files with 1200 additions and 1600 deletions

View File

@@ -35,7 +35,6 @@ use Preferences;
use Session;
use View;
/**
* Class SessionFilter
*
@@ -85,7 +84,6 @@ class Range
}
return $next($request);
}
/**
@@ -132,7 +130,6 @@ class Range
{
// ignore preference. set the range to be the current month:
if (!Session::has('start') && !Session::has('end')) {
$viewRange = Preferences::get('viewRange', '1M')->data;
$start = new Carbon;
$start = Navigation::updateStartDate($viewRange, $start);
@@ -153,5 +150,4 @@ class Range
Session::put('first', $first);
}
}
}