Skip to content

Commit 24571ee

Browse files
author
Deepak Srivastava
committed
CRM-12000
1 parent 7038be5 commit 24571ee

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CRM/Upgrade/Incremental/php/FourThree.php

+5
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ function setPostUpgradeMessage(&$postUpgradeMessage, $rev) {
6868
elseif ($context == 'merged') {
6969
$postUpgradeMessage .= '<br />' . ts("The existing organization contact record for '{$orgName}' has marked as the default domain contact, and has been updated with information from your Organization Address and Contact Info settings.");
7070
}
71+
72+
$providerExists = CRM_Core_DAO::singleValueQuery("SELECT id FROM civicrm_sms_provider LIMIT 1");
73+
if ($providerExists) {
74+
$postUpgradeMessage .= '<br />' . ts('SMS providers were found to setup. Please note Clickatell / Twilio are now shipped as extensions and will require installing them to continue working. Extension could be downloaded and installed from <a href="%1">github</a>.', array(1 => 'https://github.com/civicrm/civicrm-core/tree/master/tools/extensions'));
75+
}
7176
}
7277

7378
if ($rev == '4.3.alpha2') {

templates/CRM/SMS/Page/Provider.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*}
2626
{capture assign=wikiLink}{docURL page="Setting up a SMS Provider for CiviSMS" text="(How to add a SMS Provider)" resource="wiki"}{/capture}
2727
<div id="help">
28-
{ts}You can configure one or more SMS Providers for your CiviCRM installation. To learn more about the procedure to add a SMS Provider, refer{/ts} {$wikiLink}
28+
{ts}You can configure one or more SMS Providers for your CiviCRM installation. To learn more about the procedure to install SMS extension and Provider, refer{/ts} {$wikiLink}
2929
</div>
3030
{if $action eq 1 or $action eq 2 or $action eq 8}
3131
{include file="CRM/SMS/Form/Provider.tpl"}

0 commit comments

Comments
 (0)