Replace *_page_info function calls with Content\PageInfo equivalent

This commit is contained in:
Hypolite Petovan 2020-07-14 10:15:04 -04:00
commit 3e25fc3a72
7 changed files with 17 additions and 56 deletions

View file

@ -30,6 +30,7 @@
use Friendica\App;
use Friendica\Content\Item as ItemHelper;
use Friendica\Content\PageInfo;
use Friendica\Content\Text\BBCode;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
@ -233,7 +234,7 @@ function item_post(App $a) {
];
}
$att_bbcode = add_page_info_data($attachment);
$att_bbcode = "\n" . PageInfo::getFooterFromData($attachment);
$body .= $att_bbcode;
}