Skip to content

Commit

Permalink
Item13289: fixing DBDUMP + EditChapterPlugin
Browse files Browse the repository at this point in the history
DBDUMP generates a heading that EditChapterPlugin miscounts
  • Loading branch information
MichaelDaum committed Mar 4, 2015
1 parent 3baaf67 commit faa732b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion data/System/DBCachePlugin.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" comment="" date="1424086008" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" comment="" date="1425456531" format="1.1" version="1"}%
---+!! <nop>%TOPIC%
%TOC%

Expand Down Expand Up @@ -422,6 +422,7 @@ automatically from there on.
| Release: | %$RELEASE% |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 04 Mar 2015: | fixing interaction between DBDUMP generating a heading and Foswiki:Extensions/EditChapterPlugin |
| 20 Jan 2015: | added =$html()= |
| 27 Nov 2014: | fixed security of rest handlers and DBDUMP macro |
| 28 May 2014: | implemented new ACL style compatible with Foswiki >= 1.2 |
Expand Down
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/DBCachePlugin.pm
Expand Up @@ -25,8 +25,8 @@ use Foswiki::Plugins();
#Monitor::MonitorMethod('Foswiki::Contrib::DBCachePlugin::Core');
#Monitor::MonitorMethod('Foswiki::Contrib::DBCachePlugin::WebDB');

our $VERSION = '6.10';
our $RELEASE = '6.10';
our $VERSION = '6.11';
our $RELEASE = '04 Mar 2015';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION = 'Lightweighted frontend to the DBCacheContrib';

Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/DBCachePlugin/Core.pm
Expand Up @@ -976,7 +976,7 @@ sub dbDump {
return inlineError("DBCachePlugin: $web.$topic not found");
}
my $result = "\n<noautolink>\n";
$result .= "---++ [[$web.$topic]]\n";
$result .= "<h2 > [[$web.$topic]]</h2>\n";
$result .= _dbDumpMap($topicObj);
return $result . "\n</noautolink>\n";
}
Expand Down

0 comments on commit faa732b

Please sign in to comment.