mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
0f1983fb25
commit
370bfca6e6
@ -62,7 +62,6 @@ class DocParser
|
|||||||
'level' => 0,
|
'level' => 0,
|
||||||
'node' => new DocToc()
|
'node' => new DocToc()
|
||||||
));
|
));
|
||||||
$itemPriority = 1;
|
|
||||||
foreach ($fileInfos as $fileInfo) {
|
foreach ($fileInfos as $fileInfo) {
|
||||||
try {
|
try {
|
||||||
$fileObject = $fileInfo->openFile();
|
$fileObject = $fileInfo->openFile();
|
||||||
@ -97,7 +96,6 @@ class DocParser
|
|||||||
(object) array(
|
(object) array(
|
||||||
'id' => $id,
|
'id' => $id,
|
||||||
'title' => $header,
|
'title' => $header,
|
||||||
'priority' => $itemPriority++, // Post-increment is on purpose
|
|
||||||
'nofollow' => $nofollow
|
'nofollow' => $nofollow
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user