Skip to content

Commit

Permalink
Rely on __autoload to find MantisPlugin class
Browse files Browse the repository at this point in the history
There is no need to include the MantisPlugin class file directory - the
__autoload functionality in core.php can handle this for us.
  • Loading branch information
davidhicks committed Feb 12, 2010
1 parent 8696c44 commit 9088746
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions plugins/MantisCoreFormatting/MantisCoreFormatting.php
Expand Up @@ -14,8 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.

require_once( config_get( 'class_path' ) . 'MantisFormattingPlugin.class.php' );

class MantisCoreFormattingPlugin extends MantisFormattingPlugin {

/**
Expand Down
2 changes: 0 additions & 2 deletions plugins/MantisGraph/MantisGraph.php
Expand Up @@ -14,8 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.

require_once( config_get( 'class_path' ) . 'MantisPlugin.class.php' );

class MantisGraphPlugin extends MantisPlugin {

/**
Expand Down
5 changes: 0 additions & 5 deletions plugins/XmlImportExport/XmlImportExport.php
Expand Up @@ -23,11 +23,6 @@
* @link http://www.mantisbt.org
*/

/**
* requires MantisPlugin.class.php
*/
require_once( config_get( 'class_path' ) . 'MantisPlugin.class.php' );

/**
* XmlImportExportPlugin Class
*/
Expand Down

0 comments on commit 9088746

Please sign in to comment.