update, working on inter-season logic
This commit is contained in:
parent
66671b1e81
commit
beaba1d389
11 changed files with 45 additions and 1337 deletions
|
|
@ -191,7 +191,6 @@ class UsersController extends Controller
|
|||
public function ranking($max_round_id, $seasonId=-1) {
|
||||
if (!Auth::user()) { return redirect("/"); }
|
||||
|
||||
|
||||
$startTime = microtime(true);
|
||||
|
||||
$season = Season::getCurrent();
|
||||
|
|
@ -220,7 +219,6 @@ class UsersController extends Controller
|
|||
$max_round_id=min($max_round_id, Round::getLastLockedRoundId());
|
||||
|
||||
|
||||
|
||||
// Payment made ?
|
||||
if (! User::payment_date(Auth::user()->id, $season->id) && Auth::user()->name!="Torsten Schneider") {
|
||||
return view('users.no_payment');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue