aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/actions/add.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-28 08:16:38 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-28 08:16:38 -0500
commit20cfe76030625aedd00680926206f7dace188fc6 (patch)
tree38b69bb52d6b676a866448a9135ca23dda06ed30 /mod/thewire/actions/add.php
parente270bddb01dac3114ccf2d1d3680ce5a45f4374c (diff)
downloadelgg-20cfe76030625aedd00680926206f7dace188fc6.tar.gz
elgg-20cfe76030625aedd00680926206f7dace188fc6.tar.bz2
replaced deprecated function call in the wire plugin
Diffstat (limited to 'mod/thewire/actions/add.php')
-rw-r--r--mod/thewire/actions/add.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/actions/add.php b/mod/thewire/actions/add.php
index 97b630678..6b3d8d5ba 100644
--- a/mod/thewire/actions/add.php
+++ b/mod/thewire/actions/add.php
@@ -17,7 +17,7 @@ if (empty($body)) {
forward(REFERER);
}
-$guid = thewire_save_post($body, get_loggedin_userid(), $access_id, $parent_guid, $method);
+$guid = thewire_save_post($body, elgg_get_logged_in_user_guid(), $access_id, $parent_guid, $method);
if (!$guid) {
register_error(elgg_echo("thewire:error"));
forward(REFERER);