X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=55a92f8e64f674fc34716f0d656d174f238f7ea1;hb=f10481796778811d3ea4fab803508be3ffde84e4;hp=01f283870ef8ec2ed119d84a458fd2db67d7e33d;hpb=c4ea3bfb3e8a603aacd386438b23fe5a59068114;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index 01f283870e..55a92f8e64 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -33,7 +33,6 @@ function notes_content(App $a, $update = false) return; } - require_once 'include/security.php'; require_once 'include/conversation.php'; $o = Profile::getTabs($a, true); @@ -61,7 +60,7 @@ function notes_content(App $a, $update = false) $condition = ['uid' => local_user(), 'post-type' => Item::PT_PERSONAL_NOTE, 'gravity' => GRAVITY_PARENT, 'wall' => false, 'contact-id'=> $a->contact['id']]; - $a->set_pager_itemspage(40); + $a->setPagerItemsPage(40); $params = ['order' => ['created' => true], 'limit' => [$a->pager['start'], $a->pager['itemspage']]];