Skip to content

Commit

Permalink
Merge branch 'riverid-bug' of git://github.com/solarissmoke/Ushahidi_…
Browse files Browse the repository at this point in the history
…Web into develop

Conflicts:
	application/models/user.php
  • Loading branch information
rjmackay committed May 29, 2013
2 parents b862e0c + ace866f commit 4cfa8d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions application/models/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ public static function create_user($email, $password, $riverid=FALSE, $name=FALS
$user->needinfo = 1;
}

if ($riverid != FALSE)
{
$user->riverid = $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 4cfa8d1

Please sign in to comment.