aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index fea2cf460..2ae5c53e8 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -221,7 +221,7 @@ function rest_wire_post($username, $text) {
if (($object) && ($object->subtype == get_subtype_id('object', 'sms')))
{
// Get user from phone number
- if ((is_plugin_enabled('smsclient')) && (is_plugin_enabled('smslogin')))
+ if ((elgg_is_active_plugin('smsclient')) && (elgg_is_active_plugin('smslogin')))
{
// By this stage the owner should be logged in (requires SMS Login)
if (thewire_save_post($object->description, get_default_access(), 0, 'sms'))