]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki.pm
update changelog, update rebuild version
[ikiwiki.git] / IkiWiki.pm
index 6d2f4dac3082502ced4073abe9c908fd90c9e5a5..2cad6a3ef4333c782e5ccfb83c3e828f8ed19e17 100644 (file)
@@ -2435,10 +2435,8 @@ sub match_ip ($$;@) {
 package IkiWiki::SortSpec;
 
 # This is in the SortSpec namespace so that the $a and $b that sort() uses
-# $IkiWiki::SortSpec::a and $IkiWiki::SortSpec::b, so that plugins' cmp
-# functions can access them easily.
-sub sort_pages
-{
+# are easily available in this namespace, for cmp functions to use them.
+sub sort_pages {
        my $f = IkiWiki::sortspec_translate(shift);
 
        return sort $f @_;