Prose\UsingRolesTable::removeHostFromAllRoles PHP Method

removeHostFromAllRoles() public method

public removeHostFromAllRoles ( $hostId )
    public function removeHostFromAllRoles($hostId)
    {
        // what are we doing?
        $log = usingLog()->startAction("remove host '{$hostId}' from all roles");
        // remove it
        usingRuntimeTableForTargetEnvironment($this->entryKey)->removeItemFromAllGroups($hostId);
        // all done
        $log->endAction();
    }