public function removeInvites($gid, $emails)
	{
		foreach ($emails as $email)
		{
			$model = self::all()
				->whereEquals('gidNumber', $gid)
				->whereEquals('email', $email)
				->row();

			if ($model->get('id'))
			{
				$model->destroy();
			}
		}
	}
public function removeInvites($gid, $emails)
	{
		foreach ($emails as $email)
		{
			$model = self::all()
				->whereEquals('gidNumber', $gid)
				->whereEquals('email', $email)
				->row();

			if ($model->get('id'))
			{
				$model->destroy();
			}
		}
	}
public function removeInvites ( $ gid , $ emails ) { foreach ( $ emails as $ email ) { $ model = self :: all ( ) -> whereEquals ( 'gidNumber' , $ gid ) -> whereEquals ( 'email' , $ email ) -> row ( ) ; if ( $ model -> get ( 'id' ) ) { $ model -> destroy ( ) ; } } }
Remove Invite Emails

@param   integer  $gid     Group ID
@param   array    $emails  Array of email addresses
@return  void
Remove Invite Emails