[Fusionforge-commits] r15967 - trunk/src/plugins/mantisbt/common

Franck VILLAUME nerville at fusionforge.org
Sun Jul 8 16:00:41 CEST 2012


Author: nerville
Date: 2012-07-08 16:00:40 +0200 (Sun, 08 Jul 2012)
New Revision: 15967

Modified:
   trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php
   trunk/src/plugins/mantisbt/common/mantisbt_Widget_ProjectLastIssues.class.php
Log:
use __construct when needed

Modified: trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php
===================================================================
--- trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php	2012-07-08 13:58:48 UTC (rev 15966)
+++ trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php	2012-07-08 14:00:40 UTC (rev 15967)
@@ -25,7 +25,7 @@
 
 class MantisBTPlugin extends Plugin {
 
-	function MantisBTPlugin() {
+	function __construct() {
 		$this->Plugin();
 		$this->name = "mantisbt";
 		$this->text = "MantisBT"; // To show in the tabs, use...

Modified: trunk/src/plugins/mantisbt/common/mantisbt_Widget_ProjectLastIssues.class.php
===================================================================
--- trunk/src/plugins/mantisbt/common/mantisbt_Widget_ProjectLastIssues.class.php	2012-07-08 13:58:48 UTC (rev 15966)
+++ trunk/src/plugins/mantisbt/common/mantisbt_Widget_ProjectLastIssues.class.php	2012-07-08 14:00:40 UTC (rev 15967)
@@ -22,7 +22,7 @@
 require_once('common/widget/WidgetLayoutManager.class.php');
 
 class mantisBT_Widget_ProjectLastIssues extends Widget {
-	function mantisBT_Widget_ProjectLastIssues() {
+	function __construct() {
 		$this->Widget('plugin_mantisbt_project_latestissues');
 	}
 




More information about the Fusionforge-commits mailing list