Dropped Redis model, rebuilt without it
The model was getting a bit more complicated than I would have liked. Went back to using straight redis commands and moved some of the user model logic into the custommodule.
This commit is contained in:
parent
2c5144f026
commit
c1817a24be
13 changed files with 69 additions and 198 deletions
|
@ -44,8 +44,7 @@
|
|||
<div class="collapse navbar-collapse pull-right">
|
||||
<ul class="nav navbar-nav">
|
||||
<?php
|
||||
|
||||
if (User::isAuthenticated())
|
||||
if (isset($this->module['uid']))
|
||||
{
|
||||
$links = array(
|
||||
'/leaderboards' => 'My Leaderboards',
|
||||
|
|
3
templates/leaderboards.phtml
Normal file
3
templates/leaderboards.phtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<h1>My Leaderboards</h1>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue