aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 00:30:35 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-09 00:30:35 +0000
commitb97b391cdd12ec62931c2a825ed4c70478ec5db0 (patch)
tree68c6d83de079eb3b54dfbb543ff11b028d24ad4b /mod/thewire/start.php
parent033b7726df3db6a96f2ade8e782709a6602ac3bc (diff)
downloadelgg-b97b391cdd12ec62931c2a825ed4c70478ec5db0.tar.gz
elgg-b97b391cdd12ec62931c2a825ed4c70478ec5db0.tar.bz2
Refs #2874: Using elgg_is_active_plugin() in core and bundled plugins.
git-svn-id: http://code.elgg.org/elgg/trunk@8082 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/start.php')
-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'))