[Fusionforge-commits] r8226 - branches/Branch_4_8/gforge/common/tracker

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Oct 1 19:57:51 CEST 2009


Author: lolando
Date: 2009-10-01 19:57:51 +0200 (Thu, 01 Oct 2009)
New Revision: 8226

Modified:
   branches/Branch_4_8/gforge/common/tracker/ArtifactType.class.php
Log:
Remove unused data from role_setting when deleting a tracker

Modified: branches/Branch_4_8/gforge/common/tracker/ArtifactType.class.php
===================================================================
--- branches/Branch_4_8/gforge/common/tracker/ArtifactType.class.php	2009-10-01 16:51:32 UTC (rev 8225)
+++ branches/Branch_4_8/gforge/common/tracker/ArtifactType.class.php	2009-10-01 17:57:51 UTC (rev 8226)
@@ -874,6 +874,10 @@
 			WHERE group_artifact_id=$1',
 				 array ($this->getID())) ;
 //echo '4'.db_error();
+		db_query_params ('DELETE FROM role_setting WHERE ref_id=$1 AND section_name=$2 AND role_id IN (SELECT role_id FROM role WHERE group_id=$3)',
+				 array ($this->getID(),
+					'tracker',
+					$this->Group->getID())) ;
 		db_query_params ('DELETE FROM artifact_group_list
 			WHERE group_artifact_id=$1',
 				 array ($this->getID())) ;




More information about the Fusionforge-commits mailing list