new version notification skip for dev

This commit is contained in:
yuri
2018-03-19 13:10:38 +02:00
parent f79e093f52
commit ee70fb8483
@@ -120,6 +120,7 @@ class AdminNotificationManager
$latestVersion = $config->get('latestVersion');
if (isset($latestVersion)) {
$currentVersion = $config->get('version');
if ($currentVersion === 'dev') return;
if (version_compare($latestVersion, $currentVersion, '>')) {
return array(
'currentVersion' => $currentVersion,