getModule('pool')->getPoolById($poolid); if(is_object($pool)) { $result = $this->getModule('bconsole')->bconsoleCommand( $this->director, array('update', 'pool="' . $pool->name . '"') ); $this->output = $result->output; $this->error = $result->exitcode; } else { $this->output = PoolError::MSG_ERROR_POOL_DOES_NOT_EXISTS; $this->error = PoolError::ERROR_POOL_DOES_NOT_EXISTS; } } } ?>