mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Code cleanup / globals removal etc.
This commit is contained in:
6
user.php
6
user.php
@@ -161,8 +161,10 @@ if (isset($id))
|
||||
|
||||
$loop_uid = $id;
|
||||
|
||||
$ret = $e_event->trigger("showuser", $id);
|
||||
if ($ret!='')
|
||||
$ret = e107::getEvent()->trigger("showuser", $id);
|
||||
$ret2 = e107::getEvent()->trigger('user_profile_display',$id);
|
||||
|
||||
if (!empty($ret) || !empty($ret2))
|
||||
{
|
||||
$text = "<div style='text-align:center'>".$ret."</div>";
|
||||
$ns->tablerender(LAN_USER_48, $text);
|
||||
|
Reference in New Issue
Block a user