Skip to content

Commit

Permalink
Tidy up.
Browse files Browse the repository at this point in the history
  • Loading branch information
solarissmoke committed May 22, 2013
1 parent 6ce7137 commit ace866f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions application/models/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,7 @@ public static function create_user($email,$password,$riverid=false,$name=false)
$user->name = $name;
}

if ($riverid != false)
{
$user->riverid = $riverid;
}
else
{
$user->riverid = '';
}
$user->riverid = ( $riverid == false ) ? '' : $riverid;

// Add New Roles if:
// 1. We don't require admin to approve users (will be added when admin approves)
Expand Down

0 comments on commit ace866f

Please sign in to comment.