projecten

This commit is contained in:
2018-01-23 08:45:44 +01:00
parent 970aa53971
commit fb19c401fd
36 changed files with 1402 additions and 184 deletions
+3 -2
View File
@@ -53,13 +53,14 @@ class User extends BaseModel {
if ( $userID == 0 )
{
$user = User::create( $user );
$userID = $user['id'];
}
else
{
$user = User::whereId( $userID )->update( $user );
User::whereId( $userID )->update( $user );
}
return $user['id'];
return $userID;
}
public static function removeUser( $userID )