projects
/
bse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c284ccb
)
add a few more methods to the regen dummy article class
author
Tony Cook
<tony@develop-help.com>
Wed, 27 Nov 2013 09:19:45 +0000
(20:19 +1100)
committer
Tony Cook
<tony@develop-help.com>
Wed, 27 Nov 2013 09:19:45 +0000
(20:19 +1100)
site/cgi-bin/modules/BSE/Regen.pm
patch
|
blob
|
blame
|
history
diff --git
a/site/cgi-bin/modules/BSE/Regen.pm
b/site/cgi-bin/modules/BSE/Regen.pm
index f0fc30bb746c98fc843e87bb89d161d46ef0828d..15fd6b7c01f246df9145c1f4e6e2856c3c437056 100644
(file)
--- a/
site/cgi-bin/modules/BSE/Regen.pm
+++ b/
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.01
0
";
+our $VERSION = "1.01
1
";
# 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;