add a few more methods to the regen dummy article class
authorTony Cook <tony@develop-help.com>
Wed, 27 Nov 2013 09:19:45 +0000 (20:19 +1100)
committerTony Cook <tony@develop-help.com>
Wed, 27 Nov 2013 09:19:45 +0000 (20:19 +1100)
site/cgi-bin/modules/BSE/Regen.pm

index f0fc30b..15fd6b7 100644 (file)
@@ -10,7 +10,7 @@ use Carp qw(confess);
 use BSE::WebUtil qw(refresh_to_admin);
 use BSE::Util::HTML;
 
-our $VERSION = "1.010";
+our $VERSION = "1.011";
 
 # returns non-zero if the Regenerate button should work
 sub generate_button {
@@ -493,4 +493,24 @@ sub restricted_method {
   return 0;
 }
 
+sub section {
+  $_[0];
+}
+
+sub is_descendant_of {
+  0;
+}
+
+sub parent {
+  return;
+}
+
+sub is_dynamic {
+  1;
+}
+
+sub is_step_ancestor {
+  0;
+}
+
 1;