models/User.php
public function confirm()
	{
		$this->status = User::STATUS_ACTIVE;
		if ($this->save(FALSE))
			return TRUE;

		return FALSE;
	}
public function confirm()
	{
		$this->status = User::STATUS_ACTIVE;
		if ($this->save(FALSE))
			return TRUE;

		return FALSE;
	}
public function confirm ( ) { $ this -> status = User :: STATUS_ACTIVE ; if ( $ this -> save ( FALSE ) ) return TRUE ; return FALSE ; }
Confirms user and sets status to ACTIVE
Confirms user and sets status to ACTIVE