Merge branch 'hotfix-2.3.91'

pull/567/head
Iglocska 2015-07-01 09:51:59 +02:00
commit b17c447550
2 changed files with 5 additions and 6 deletions

View File

@ -1 +1 @@
{"major":2, "minor":3, "hotfix":90}
{"major":2, "minor":3, "hotfix":91}

View File

@ -357,17 +357,16 @@ class ServersController extends AppController {
App::uses('File', 'Utility');
App::uses('Folder', 'Utility');
$additionalViewVars = array();
if ($tab == 'files') {
$files = $this->__manageFiles();
$this->set('files', $files);
}
// Only run this check on the diagnostics tab
if ($tab == 'diagnostics' || $tab == 'download') {
// check if the current version of MISP is outdated or not
$version = $this->__checkVersion();
$this->set('version', $version);
if ($version && (!$version['upToDate'] || $version['upToDate'] == 'older')) $diagnostic_errors++;
if ($tab == 'files') {
$files = $this->__manageFiles();
$this->set('files', $files);
}
// check if the STIX and Cybox libraries are working and the correct version using the test script stixtest.py
$stix = $this->Server->stixDiagnostics($diagnostic_errors, $stixVersion, $cyboxVersion);