Don't set widgets if you're not a local user.

This commit is contained in:
Thomas Willingham
2013-11-02 21:11:43 +00:00
parent b95d4c1186
commit ced0a9ab74
3 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ require_once('include/Contact.php');
function message_aside(&$a) {
if (! local_user())
return;
$a->set_widget('msgaside',replace_macros(get_markup_template('message_side.tpl'), array(
'$tabs'=> array(),