1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Revert "Avatar shortcode for forum_template"

This reverts commit 0d5b1e9988.
This commit is contained in:
durandalwoz
2016-06-28 03:26:21 -03:00
parent 0d5b1e9988
commit e9fe7ecc2e
2 changed files with 0 additions and 18 deletions

View File

@@ -699,8 +699,4 @@ $gen = new convert;
return $frm->breadcrumb($breadarray);
}
function sc_avatar($opts)
{
return e107::getParser()->toAvatar(e107::user($this->var['forum_lastpost_user']),$opts);
}
}

View File

@@ -888,19 +888,5 @@ $LASTPOSTUSER = $this->var['lastpost_username'];
}
*/
function sc_avatar($opts)
{
if (isset($this->var['thread_id']))
{
return e107::getParser()->toAvatar(e107::user($this->var['thread_lastuser']),$opts);
}
elseif (isset($this->var['forum_id']))
{
return e107::getParser()->toAvatar(e107::user($this->var['forum_lastpost_user']),$opts);
}
return '';
// return print_r($this->var);
}
}
?>