From f4209dc7a895bedd7ac6613279bc61afc6dc40a8 Mon Sep 17 00:00:00 2001 From: azett Date: Sat, 23 Oct 2021 19:21:39 +0200 Subject: [PATCH] removed obsolete code --- fp-plugins/lastcomments/plugin.lastcomments.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fp-plugins/lastcomments/plugin.lastcomments.php b/fp-plugins/lastcomments/plugin.lastcomments.php index b32d41a3..0f9787ae 100644 --- a/fp-plugins/lastcomments/plugin.lastcomments.php +++ b/fp-plugins/lastcomments/plugin.lastcomments.php @@ -35,14 +35,12 @@ function plugin_lastcomments_widget() { if ($count = count($list)) { while ($arr = array_pop($list)) { - theme_comments_filters($arr, $id); - $q = new FPDB_Query(array( 'id' => $arr ['entry'] ), null); // first element of the array is dropped, as it is the ID, which // we already know - @list (, $entry) = $q->getEntry($query); + @list (, $entry) = $q->getEntry(); if (!$entry) { $count--;