removed obsolete code
This commit is contained in:
parent
1a5138557b
commit
f4209dc7a8
@ -35,14 +35,12 @@ function plugin_lastcomments_widget() {
|
|||||||
|
|
||||||
if ($count = count($list)) {
|
if ($count = count($list)) {
|
||||||
while ($arr = array_pop($list)) {
|
while ($arr = array_pop($list)) {
|
||||||
theme_comments_filters($arr, $id);
|
|
||||||
|
|
||||||
$q = new FPDB_Query(array(
|
$q = new FPDB_Query(array(
|
||||||
'id' => $arr ['entry']
|
'id' => $arr ['entry']
|
||||||
), null);
|
), null);
|
||||||
// first element of the array is dropped, as it is the ID, which
|
// first element of the array is dropped, as it is the ID, which
|
||||||
// we already know
|
// we already know
|
||||||
@list (, $entry) = $q->getEntry($query);
|
@list (, $entry) = $q->getEntry();
|
||||||
|
|
||||||
if (!$entry) {
|
if (!$entry) {
|
||||||
$count--;
|
$count--;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user