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.
14 lines
190 B
PHP
14 lines
190 B
PHP
<?php
|
|
|
|
class leaderboards extends UserModule
|
|
{
|
|
public function __default()
|
|
{
|
|
// Grabs the user's leaderboards
|
|
$leaders = '';
|
|
|
|
return array('leaderboards' => $leaderboards);
|
|
}
|
|
}
|
|
|
|
?>
|