]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
replaced deprecated function call in the wire plugin
authorCash Costello <cash.costello@gmail.com>
Sat, 28 Jan 2012 13:16:38 +0000 (08:16 -0500)
committerCash Costello <cash.costello@gmail.com>
Sat, 28 Jan 2012 13:16:38 +0000 (08:16 -0500)
mod/thewire/actions/add.php

index 97b6306780bff77820e0cff19a297419b3097f56..6b3d8d5ba9fe95a4c16b0c6f8915124965c8ac4c 100644 (file)
@@ -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);