mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Replace *_page_info function calls with Content\PageInfo equivalent
This commit is contained in:
parent
a1d62734fa
commit
3e25fc3a72
7 changed files with 17 additions and 56 deletions
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica\Module;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Content\PageInfo;
|
||||
use Friendica\Core\ACL;
|
||||
use Friendica\DI;
|
||||
use Friendica\Module\Security\Login;
|
||||
|
@ -55,7 +56,7 @@ class Bookmarklet extends BaseModule
|
|||
throw new HTTPException\BadRequestException(DI::l10n()->t('This page is missing a url parameter.'));
|
||||
}
|
||||
|
||||
$content = add_page_info($_REQUEST["url"]);
|
||||
$content = "\n" . PageInfo::getFooterFromUrl($_REQUEST['url']);
|
||||
|
||||
$x = [
|
||||
'is_owner' => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue