]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/tla.pm
--gettime revamp
[ikiwiki.git] / IkiWiki / Plugin / tla.pm
index 764da9b98151d1321a507c0f8a62b1eeabe495a2..f5ad0cc96bd658810492880f9c91bf87c60bdc92 100644 (file)
@@ -18,6 +18,7 @@ sub import {
        hook(type => "rcs", id => "rcs_recentchanges", call => \&rcs_recentchanges);
        hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
        hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime);
+       hook(type => "rcs", id => "rcs_getmtime", call => \&rcs_getmtime);
 }
 
 sub checkconfig () {
@@ -284,4 +285,8 @@ sub rcs_getctime ($) {
        return $date;
 }
 
+sub rcs_getmtime ($) {
+       error "rcs_getmtime is not implemented for tla\n"; # TODO
+}
+
 1