getModule('pool')->getPoolById($id); if(!is_null($pool)) { $poolUpdate = $this->getModule('bconsole')->bconsoleCommand($this->director, array('update', 'pool="' . $pool->name . '"'), $this->user); $this->output = $poolUpdate->output; $this->error = (integer)$poolUpdate->exitcode; } else { $this->output = PoolError::MSG_ERROR_POOL_DOES_NOT_EXISTS; $this->error = PoolError::ERROR_POOL_DOES_NOT_EXISTS; } } } ?>