]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge pull request #5967 from annando/ap-nick
[friendica.git] / mod / notes.php
index 01f283870ef8ec2ed119d84a458fd2db67d7e33d..55a92f8e64f674fc34716f0d656d174f238f7ea1 100644 (file)
@@ -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']]];