From d06bf60f5ed9f96029bb830a005d4819a4f87b45 Mon Sep 17 00:00:00 2001 From: John Reese Date: Mon, 22 Feb 2010 15:21:46 -0500 Subject: [PATCH] Updated plugin documentation for dependency style --- docbook/developers/en/plugins-building-source.sgml | 2 +- docbook/developers/en/plugins-building.sgml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docbook/developers/en/plugins-building-source.sgml b/docbook/developers/en/plugins-building-source.sgml index 7239b75bfa..56a5cbd1c0 100644 --- a/docbook/developers/en/plugins-building-source.sgml +++ b/docbook/developers/en/plugins-building-source.sgml @@ -33,7 +33,7 @@ class ExamplePlugin extends MantisPlugin { $this->version = '1.0'; # Plugin version string $this->requires = array( # Plugin dependencies, array of basename => version pairs - 'MantisCore' => '1.2', # Should always depend on an appropriate version of MantisBT + 'MantisCore' => '1.2.0, <= 1.2.0', # Should always depend on an appropriate version of MantisBT ); $this->author = ''; # Author/team name diff --git a/docbook/developers/en/plugins-building.sgml b/docbook/developers/en/plugins-building.sgml index 676d722431..a0cd815bb6 100644 --- a/docbook/developers/en/plugins-building.sgml +++ b/docbook/developers/en/plugins-building.sgml @@ -85,7 +85,7 @@ class ExamplePlugin extends MantisPlugin { $this->version = '1.0'; # Plugin version string $this->requires = array( # Plugin dependencies, array of basename => version pairs - 'MantisCore' => '1.2', # Should always depend on an appropriate version of MantisBT + 'MantisCore' => '1.2.0, <= 1.2.0', # Should always depend on an appropriate version of MantisBT ); $this->author = ''; # Author/team name