]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
removed two deprecated function calls from thewire
authorcash <cash.costello@gmail.com>
Thu, 17 Nov 2011 01:29:25 +0000 (20:29 -0500)
committercash <cash.costello@gmail.com>
Tue, 29 Nov 2011 02:43:58 +0000 (21:43 -0500)
mod/thewire/pages/thewire/friends.php
mod/thewire/pages/thewire/owner.php

index 26ad03da69d2a356dad18fc5cd5c6250fbc58d64..e7f5eed595bdd258b76ffe453c7c5fc70db22797 100644 (file)
@@ -14,7 +14,7 @@ elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all");
 elgg_push_breadcrumb($owner->name, "thewire/owner/$owner->username");
 elgg_push_breadcrumb(elgg_echo('friends'));
 
-if (get_loggedin_userid() == $owner->guid) {
+if (elgg_get_logged_in_user_guid() == $owner->guid) {
        $form_vars = array('class' => 'thewire-form');
        $content = elgg_view_form('thewire/add', $form_vars);
        $content .= elgg_view('input/urlshortener');
index a95786b0a7fcab1237d0575a7c982997933e2d50..f544aa655443ec7812cbbabcea2db683ba40946c 100644 (file)
@@ -14,7 +14,7 @@ $title = elgg_echo('thewire:user', array($owner->name));
 elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all");
 elgg_push_breadcrumb($owner->name);
 
-if (get_loggedin_userid() == $owner->guid) {
+if (elgg_get_logged_in_user_guid() == $owner->guid) {
        $form_vars = array('class' => 'thewire-form');
        $content = elgg_view_form('thewire/add', $form_vars);
        $content .= elgg_view('input/urlshortener');