Permalink
Browse files

add a few more methods to the regen dummy article class

  • Loading branch information...
1 parent c284ccb commit 139d9a1483b5d19e630341df1a93468d1c275696 @tonycoz committed Nov 27, 2013
Showing with 21 additions and 1 deletion.
  1. +21 −1 site/cgi-bin/modules/BSE/Regen.pm
@@ -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;

0 comments on commit 139d9a1

Please sign in to comment.