1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-06-10 00:04:56 +00:00

Sort orphan pages statistic in the right direction

This commit is contained in:
Starbeamrainbowlabs 2018-04-28 11:01:57 +01:00
parent de61612b18
commit 72825f8755
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 4 additions and 4 deletions

View file

@ -387,7 +387,7 @@ if($settings->css === "auto")
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/** The version of Pepperminty Wiki currently running. */ /** The version of Pepperminty Wiki currently running. */
$version = "v0.16-dev"; $version = "v0.16-dev";
$commit = "75d6fbaa5657495c892ba6c489149013fb57a9ed"; $commit = "de61612b18b88b9a2e91d1bc7b85438221d88762";
/// Environment /// /// Environment ///
/** Holds information about the current request environment. */ /** Holds information about the current request environment. */
$env = new stdClass(); $env = new stdClass();
@ -8061,7 +8061,7 @@ register_module([
$orphaned_pages[] = $pagename; $orphaned_pages[] = $pagename;
} }
rsort($orphaned_pages); sort($orphaned_pages);
$result->value = $orphaned_pages; $result->value = $orphaned_pages;
$result->completed = true; $result->completed = true;

View file

@ -266,7 +266,7 @@
"author": "Emanuil Rusev & Starbeamrainbowlabs", "author": "Emanuil Rusev & Starbeamrainbowlabs",
"description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.", "description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.",
"id": "parser-parsedown", "id": "parser-parsedown",
"lastupdate": 1524909375, "lastupdate": 1524909661,
"optional": false "optional": false
} }
] ]

View file

@ -101,7 +101,7 @@ register_module([
$orphaned_pages[] = $pagename; $orphaned_pages[] = $pagename;
} }
rsort($orphaned_pages); sort($orphaned_pages);
$result->value = $orphaned_pages; $result->value = $orphaned_pages;
$result->completed = true; $result->completed = true;