Skip to content

Commit

Permalink
CRM-12000
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepak Srivastava committed Mar 4, 2013
1 parent 7038be5 commit 24571ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CRM/Upgrade/Incremental/php/FourThree.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ function setPostUpgradeMessage(&$postUpgradeMessage, $rev) {
elseif ($context == 'merged') {
$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.");
}

$providerExists = CRM_Core_DAO::singleValueQuery("SELECT id FROM civicrm_sms_provider LIMIT 1");
if ($providerExists) {
$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'));
}
}

if ($rev == '4.3.alpha2') {
Expand Down
2 changes: 1 addition & 1 deletion templates/CRM/SMS/Page/Provider.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*}
{capture assign=wikiLink}{docURL page="Setting up a SMS Provider for CiviSMS" text="(How to add a SMS Provider)" resource="wiki"}{/capture}
<div id="help">
{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}
{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}
</div>
{if $action eq 1 or $action eq 2 or $action eq 8}
{include file="CRM/SMS/Form/Provider.tpl"}
Expand Down

0 comments on commit 24571ee

Please sign in to comment.