We've got no mood anymore

This commit is contained in:
Michael 2017-12-07 07:01:55 +00:00
parent 2a55cf2a3d
commit 0608efc38a
3 changed files with 0 additions and 49 deletions

View file

@ -258,20 +258,6 @@ function localize_item(&$item) {
$item['body'] = sprintf($txt, $A, $B). "\n\n\n" . $Bphoto;
}
if (stristr($item['verb'], ACTIVITY_MOOD)) {
$verb = urldecode(substr($item['verb'], strpos($item['verb'], '#') + 1));
if (! $verb) {
return;
}
$Aname = $item['author-name'];
$Alink = $item['author-link'];
$A = '[url=' . zrl($Alink) . ']' . $Aname . '[/url]';
$txt = t('%1$s is currently %2$s');
$item['body'] = sprintf($txt, $A, t($verb));
}
if (activity_match($item['verb'], ACTIVITY_TAG)) {
/// @TODO may hurt performance "joining" two tables + asterisk