source/Core/Service/ApplicationServerService.php
private function updateAppServerData($appServer, $adminMode)
    {
        $appServer->setId($this->utilsServer->getServerNodeId());
        $appServer->setIp($this->utilsServer->getServerIp());
        $appServer->setTimestamp($this->currentTime);
        if ($adminMode) {
            $appServer->setLastAdminUsage($this->currentTime);
        } else {
            $appServer->setLastFrontendUsage($this->currentTime);
        }
        $this->saveAppServer($appServer);
        $this->cleanupAppServers();
    }
private function updateAppServerData($appServer, $adminMode)
    {
        $appServer->setId($this->utilsServer->getServerNodeId());
        $appServer->setIp($this->utilsServer->getServerIp());
        $appServer->setTimestamp($this->currentTime);
        if ($adminMode) {
            $appServer->setLastAdminUsage($this->currentTime);
        } else {
            $appServer->setLastFrontendUsage($this->currentTime);
        }
        $this->saveAppServer($appServer);
        $this->cleanupAppServers();
    }
private function updateAppServerData ( $ appServer , $ adminMode ) { $ appServer -> setId ( $ this -> utilsServer -> getServerNodeId ( ) ) ; $ appServer -> setIp ( $ this -> utilsServer -> getServerIp ( ) ) ; $ appServer -> setTimestamp ( $ this -> currentTime ) ; if ( $ adminMode ) { $ appServer -> setLastAdminUsage ( $ this -> currentTime ) ; } else { $ appServer -> setLastFrontendUsage ( $ this -> currentTime ) ; } $ this -> saveAppServer ( $ appServer ) ; $ this -> cleanupAppServers ( ) ; }
Updates application server with the newest information.

@param \OxidEsales\Eshop\Core\DataObject\ApplicationServer $appServer The application server to update.
@param bool                                                $adminMode The status of admin mode.
Updates application server with the newest information .