Skip to content

Commit c4ad22d

Browse files
committed
Remove dead iteration code
This was forgotten in b580cf2.
1 parent 9173e41 commit c4ad22d

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
@@ -1081,11 +1081,6 @@ protected function grabArticle(\DOMElement $page = null)
10811081
}
10821082
}
10831083

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

0 commit comments

Comments
 (0)