DocParser: Remove itemPriority since it's nowhere used

refs #4820
This commit is contained in:
Eric Lippmann 2014-06-03 14:53:28 +02:00
parent 0f1983fb25
commit 370bfca6e6
1 changed files with 0 additions and 2 deletions

View File

@ -62,7 +62,6 @@ class DocParser
'level' => 0,
'node' => new DocToc()
));
$itemPriority = 1;
foreach ($fileInfos as $fileInfo) {
try {
$fileObject = $fileInfo->openFile();
@ -97,7 +96,6 @@ class DocParser
(object) array(
'id' => $id,
'title' => $header,
'priority' => $itemPriority++, // Post-increment is on purpose
'nofollow' => $nofollow
)
);