This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  861c0c9ede67f3661312d062dc2781139b83cc7e (commit)
      from  fb8f905d601368f2547d1a26506e51f2e3f5f6a8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=861c0c9ede67f3661312d062dc2781139b83cc7e

commit 861c0c9ede67f3661312d062dc2781139b83cc7e
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Mon Mar 20 14:05:46 2017 +0100

    Remove debug; whitespace

diff --git a/src/common/tracker/ArtifactType.class.php 
b/src/common/tracker/ArtifactType.class.php
index c788dd6..c01c1cc 100644
--- a/src/common/tracker/ArtifactType.class.php
+++ b/src/common/tracker/ArtifactType.class.php
@@ -472,7 +472,7 @@ class ArtifactType extends FFError {
        function setCustomStatusField($extra_field_id) {
                $res = db_query_params('UPDATE artifact_group_list SET 
custom_status_field=$1
                        WHERE group_artifact_id=$2',
-                                       array ($extra_field_id,
+                                       array($extra_field_id,
                                               $this->getID()));
                $this->fetchData($this->getID());
                return $res;
@@ -496,7 +496,7 @@ class ArtifactType extends FFError {
        function setAutoAssignField($extra_field_id) {
                $res = db_query_params('UPDATE artifact_group_list SET 
auto_assign_field=$1
                        WHERE group_artifact_id=$2',
-                               array ($extra_field_id,
+                               array($extra_field_id,
                                       $this->getID()));
                $this->fetchData($this->getID());
                return $res;
@@ -1192,25 +1192,20 @@ class ArtifactType extends FFError {
                        WHERE group_artifact_id=$1
                        AND 
artifact.artifact_id=artifact_extra_field_data.artifact_id)',
                                array($this->getID()));
-//echo '0.1'.db_error();
                db_query_params('DELETE FROM artifact_extra_field_elements
                        WHERE EXISTS (SELECT extra_field_id FROM 
artifact_extra_field_list
                        WHERE group_artifact_id=$1
                        AND artifact_extra_field_list.extra_field_id = 
artifact_extra_field_elements.extra_field_id)',
-                                array ($this->getID()));
-//echo '0.2'.db_error();
+                                array($this->getID()));
                db_query_params('DELETE FROM artifact_extra_field_list
                        WHERE group_artifact_id=$1',
-                       array ($this->getID()));
-//echo '0.3'.db_error();
+                       array($this->getID()));
                db_query_params('DELETE FROM artifact_canned_responses
                        WHERE group_artifact_id=$1',
-                                array ($this->getID()));
-//echo '1'.db_error();
+                                array($this->getID()));
                db_query_params('DELETE FROM artifact_counts_agg
                        WHERE group_artifact_id=$1',
-                                array ($this->getID()));
-//echo '5'.db_error();
+                                array($this->getID()));
 
                ArtifactStorage::instance()->deleteFromQuery('SELECT id FROM 
artifact_file
                        WHERE EXISTS (SELECT artifact_id FROM artifact
@@ -1223,34 +1218,27 @@ class ArtifactType extends FFError {
                        WHERE group_artifact_id=$1
                        AND artifact.artifact_id=artifact_file.artifact_id)',
                                array($this->getID()));
-//echo '6'.db_error();
                db_query_params('DELETE FROM artifact_message
                        WHERE EXISTS (SELECT artifact_id FROM artifact
                        WHERE group_artifact_id=$1
                        AND artifact.artifact_id=artifact_message.artifact_id)',
                                array($this->getID()));
-//echo '7'.db_error();
                db_query_params('DELETE FROM artifact_history
                        WHERE EXISTS (SELECT artifact_id FROM artifact
                        WHERE group_artifact_id=$1
                        AND artifact.artifact_id=artifact_history.artifact_id)',
                                array($this->getID()));
-//echo '8'.db_error();
                db_query_params('DELETE FROM artifact_monitor
                        WHERE EXISTS (SELECT artifact_id FROM artifact
                        WHERE group_artifact_id=$1
                        AND artifact.artifact_id=artifact_monitor.artifact_id)',
                                array($this->getID()));
-//echo '9'.db_error();
                db_query_params('DELETE FROM artifact
                        WHERE group_artifact_id=$1',
                                array($this->getID()));
-//echo '4'.db_error();
                db_query_params('DELETE FROM artifact_group_list
                        WHERE group_artifact_id=$1',
                                array($this->getID()));
-//echo '11'.db_error();
-
                $MonitorElementObject = new MonitorElement('artifact_type');
                $MonitorElementObject->clearMonitor($this->getID());
 
@@ -1406,7 +1394,7 @@ class ArtifactType extends FFError {
                        submit_instructions=$7,
                        browse_instructions=$8
                        WHERE group_artifact_id=$9 AND group_id=$10',
-                                        array (
+                                        array(
                                                 htmlspecialchars($name),
                                                 htmlspecialchars($description),
                                                 $email_all,

-----------------------------------------------------------------------

Summary of changes:
 src/common/tracker/ArtifactType.class.php | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to