mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
New version checker changes
This commit is contained in:
@@ -35,7 +35,7 @@ class NewVersionChecker extends \Espo\Core\Jobs\Base
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
if (!$this->getConfig()->get('adminNotifications') || $this->getConfig()->get('adminNotificationNewVersionCheckerDisabled')) {
|
||||
if (!$this->getConfig()->get('adminNotifications') || !$this->getConfig()->get('adminNotificationsNewVersion')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@
|
||||
"selectExtensionPackage": "Select extension package",
|
||||
"extensionInstalled": "Extension {name} {version} has been installed.",
|
||||
"installExtension": "Extension {name} {version} is ready for an installation.",
|
||||
"cronIsNotConfigured": "Scheduled jobs are not running. Please follow the <a target=\"_blank\" href=\"https://www.espocrm.com/documentation/administration/server-configuration/#user-content-setup-a-crontab\">instructions</a> to setup cron job.",
|
||||
"cronIsNotConfigured": "Scheduled jobs are not running. Hence inbound emails, notifications and reminders are not working. Please follow the <a target=\"_blank\" href=\"https://www.espocrm.com/documentation/administration/server-configuration/#user-content-setup-a-crontab\">instructions</a> to setup cron job.",
|
||||
"newVersionIsAvailable": "New EspoCRM version {latestVersion} is available.",
|
||||
"newExtensionVersionIsAvailable": "New release {latestVersion} of {extensionName} is available."
|
||||
},
|
||||
|
||||
@@ -35,7 +35,7 @@ class AdminNotifications extends \Espo\Core\Services\Base
|
||||
{
|
||||
$config = $this->getConfig();
|
||||
|
||||
if (!$config->get('adminNotifications') || $config->get('adminNotificationNewVersionCheckerDisabled')) {
|
||||
if (!$config->get('adminNotifications') || !$config->get('adminNotificationsNewVersion')) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user