summary + patch says it all:
--- twikiplugins/DBCacheContrib/lib/TWiki/Contrib/DBCacheContrib.pm (revision 7086)
+++ twikiplugins/DBCacheContrib/lib/TWiki/Contrib/DBCacheContrib.pm (working copy)
@@ -21,7 +21,7 @@
use TWiki::Contrib::DBCacheContrib;
- $db = new TWiki::Contrib::DBCacheContrib::DBCache( $web ); # always done
+ $db = new TWiki::Contrib::DBCacheContrib( $web ); # always done
$db->load(); # may be always done, or only on demand when a tag is parsed that needs it
# the DB is a hash of topics keyed on their name
@@ -248,11 +248,11 @@
=cut
sub onReload {
- #my ( $this, $@topics) = @_;
+ #my ( $this, @$topics) = @_;
}
sub _onReload {
- my ( $this ) = @_;
+ my $this = shift;
# Fill in parent relations
foreach my $topic ( $this->getValues() ) {
Plus some minor docu fixes.
SVN 7262
CC
No, your checkin is not working as it does not call $this'
instance method of onReload.
sub _onReload {
- my ( $this ) = @_;
+ my $this = shift;
# Fill in parent relations
foreach my $topic ( $this->getValues() ) {
@@ -262,7 +262,7 @@
}
}
- onReload( @_ );
+ $this->onReload(@_);
}
SVN 7274
MD