}
if ($request_id) {
- /** @var Introduction $Intro */
- $Intro = \Friendica\BaseObject::getClass(Introduction::class);
- $Intro->fetch(['id' => $request_id, 'uid' => local_user()]);
+ $Intro = DI::intro()->fetch(['id' => $request_id, 'uid' => local_user()]);
switch ($_POST['submit']) {
case L10n::t('Discard'):
}
// Set the pager
- $pager = new Pager($a->query_string, $perpage);
+ $pager = new Pager(DI::args()->getQueryString(), $perpage);
// Add additional informations (needed for json output)
$notifs['items_page'] = $pager->getItemsPerPage();