]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Update/Profile.php
Remove pager parameter from conversation()
[friendica.git] / src / Module / Update / Profile.php
index 0f959a3602c1342e37e2de0ac8aca1b376326bf2..79e53168b3a7080807945bf1e712719b4396df35 100644 (file)
@@ -1,4 +1,23 @@
 <?php
+/**
+ * @copyright Copyright (C) 2020, Friendica
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
 
 namespace Friendica\Module\Update;
 
@@ -76,8 +95,6 @@ class Profile extends BaseModule
                        return '';
                }
 
-               $pager = new Pager(DI::args()->getQueryString());
-
                // Set a time stamp for this page. We will make use of it when we
                // search for new items (update routine)
                $last_updated_array[$last_updated_key] = time();
@@ -97,7 +114,7 @@ class Profile extends BaseModule
 
                $items = DBA::toArray($items_stmt);
 
-               $o .= conversation($a, $items, $pager, 'profile', $profile_uid, false, 'received', $a->profile['uid']);
+               $o .= conversation($a, $items, 'profile', $profile_uid, false, 'received', $a->profile['uid']);
 
                header("Content-type: text/html");
                echo "<!DOCTYPE html><html><body>\r\n";