From: Coleman Watts Date: Mon, 10 Aug 2015 18:10:29 +0000 (-0400) Subject: CRM-13823 - Remove unused file X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=48b213f5588b3b1800acb0d7cfeb9f3dd682903b;p=civicrm-core.git CRM-13823 - Remove unused file --- diff --git a/templates/CRM/Admin/Form/Setting/versionCheckOptions.js b/templates/CRM/Admin/Form/Setting/versionCheckOptions.js deleted file mode 100644 index c6de62a11a..0000000000 --- a/templates/CRM/Admin/Form/Setting/versionCheckOptions.js +++ /dev/null @@ -1,24 +0,0 @@ -// https://civicrm.org/licensing -CRM.$(function($) { - 'use strict'; - $(document) - .off('.crmVersionCheckOptions') - .on('click.crmVersionCheckOptions', 'a.crm-setVersionCheckIgnoreDate', function(e) { - var isSecurity = !($(this).closest('.ui-notify-message').hasClass('info')); - var msg = '

' + ts('This will suppress notifications about all currently available updates.') + ' '; - if (isSecurity) { - msg += ts('Notifications will resume when a new security advisory is published.') + - '

' + - ts('Warning: Do this only if you have already taken alternate steps to ensure your site is secure.'); - } else { - msg += ts('Notifications will resume when a new release is published.'); - } - msg += '

'; - CRM.confirm({message: msg, title: $(this).text()}) - .on('crmConfirm:yes', function() { - CRM.api3('setting', 'create', {versionCheckIgnoreDate: new Date().toISOString().slice(0,10)}, true); - CRM.closeAlertByChild('a.crm-setVersionCheckIgnoreDate'); - }); - e.preventDefault(); - }); -});