getModel(); $this->profile = Platform::getInstance()->get_active_profile(); $this->profileList = $model->getProfileList(); $this->latestBackupDetails = $model->getLatestBackupDetails(); if (!$this->container->segment->get('insideCMS', false)) { $this->configUrl = $model->getConfigUrl(); } $this->backupUrl = $model->getBackupUrl(); $this->needsDownloadId = $model->needsDownloadID(); $this->warnCoreDownloadId = $model->mustWarnAboutDownloadIdInCore(); /** @var Stats $statsModel */ $statsModel = Model::getTmpInstance($this->container->application_name, 'Stats', $this->container); $this->statsIframe = $statsModel->collectStatistics(true); return true; } }