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(); }
/** * removeHost * * @param string $hostId * ID of the host to remove * * @return void */ public function removeHost($hostId) { // what are we doing? $log = usingLog()->startAction("remove host '{$hostId}' from current test environment hosts table"); // remove it usingRuntimeTableForTargetEnvironment($this->entryKey)->removeItem($hostId); // all done $log->endAction(); }