enotify: localize things we know how to translate
This commit is contained in:
@@ -91,10 +91,6 @@ function item_redir_and_replace_images($body, $images, $cid) {
|
||||
|
||||
function localize_item(&$item){
|
||||
|
||||
$extracted = item_extract_images($item['body']);
|
||||
if($extracted['images'])
|
||||
$item['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $item['contact-id']);
|
||||
|
||||
if (activity_match($item['verb'],ACTIVITY_LIKE) || activity_match($item['verb'],ACTIVITY_DISLIKE)){
|
||||
|
||||
$obj= json_decode($item['object'],true);
|
||||
|
||||
Reference in New Issue
Block a user