diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-08-06 22:38:06 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-08-06 22:38:06 -0400 |
commit | 1c3a1360a9bde9bd916df8a2e064438d3ef600e7 (patch) | |
tree | 775668662785556b7d79209b9cc453368d04c053 /actions/smssettings.php | |
parent | 49eb6009a54e9fd5609cce1ba7cfc9d85edff8c0 (diff) | |
parent | 7c9e12a0b8117809d559e1120b5f4f0cf578e646 (diff) |
Merge commit 'jeff-themovie/0.8.x-subsystems-enabled' into 0.8.x
Diffstat (limited to 'actions/smssettings.php')
-rw-r--r-- | actions/smssettings.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/smssettings.php b/actions/smssettings.php index 922bab9a4..33b54abf6 100644 --- a/actions/smssettings.php +++ b/actions/smssettings.php @@ -80,6 +80,12 @@ class SmssettingsAction extends ConnectSettingsAction function showContent() { + if (!common_config('sms', 'enabled')) { + $this->element('div', array('class' => 'error'), + _('SMS is not available.')); + return; + } + $user = common_current_user(); $this->elementStart('form', array('method' => 'post', |