mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
We've got no mood anymore
This commit is contained in:
parent
2a55cf2a3d
commit
0608efc38a
3 changed files with 0 additions and 49 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue