Skip to content

Commit

Permalink
Item8315: Add a context setting for "diff" so that other plugins know…
Browse files Browse the repository at this point in the history
… a diff / compare operation is occurring.

git-svn-id: http://svn.foswiki.org/trunk@5425 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Nov 3, 2009
1 parent 6283709 commit d4bf466
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -2,11 +2,11 @@
# ---++ CompareRevisionsAddOn
# **PERL H**
# This setting is required to enable executing the compare script from the bin directory
$Foswiki::cfg{SwitchBoard}{compare} = [
'Foswiki::Contrib::CompareRevisionsAddOn::Compare',
'compare',
{
'comparing' => 1
}
];
$Foswiki::cfg{SwitchBoard}{compare} = {
package => 'Foswiki::Contrib::CompareRevisionsAddOn::Compare',
function => 'compare',
context => { diff => 1,
comparing => 1
},
};
1;

0 comments on commit d4bf466

Please sign in to comment.