Skip to content

Commit 006ac42

Browse files
committed
Remove dead iteration code
This was forgotten in b580cf2.
1 parent df39cd1 commit 006ac42

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Readability.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,11 +1079,6 @@ protected function grabArticle(?\DOMElement $page = null)
10791079
}
10801080
}
10811081

1082-
$candidates = $xpath->query('.//*[not(self::body) and (@class or @id or @style) and ((number(@readability) < 40) or not(@readability))]', $page->documentElement);
1083-
1084-
for ($c = $candidates->length - 1; $c >= 0; --$c) {
1085-
$node = $candidates->item($c);
1086-
}
10871082
unset($candidates);
10881083
}
10891084

0 commit comments

Comments
 (0)