src/users.php
public static function removeById(int $id) {
		if ($user = R::findOne('user', ' id = ? ', [$id])) {
			R::trash($user);
		}
	}
public static function removeById(int $id) {
		if ($user = R::findOne('user', ' id = ? ', [$id])) {
			R::trash($user);
		}
	}
public static function removeById ( int $ id ) { if ( $ user = R :: findOne ( 'user' , ' id = ? ' , [ $ id ] ) ) { R :: trash ( $ user ) ; } }
Removes an user by his id

@param integer $id id of user
Removes an user by his id