[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1307-g550c538

Franck Villaume nerville at libremir.placard.fr.eu.org
Thu Dec 29 09:18:36 CET 2016


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  550c538de403aedb5613a2cda9d2f8a2d004b5cb (commit)
      from  7f4da065f3260ed998e1fb963f8f7074a752f5b8 (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=550c538de403aedb5613a2cda9d2f8a2d004b5cb

commit 550c538de403aedb5613a2cda9d2f8a2d004b5cb
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Dec 29 09:18:10 2016 +0100

    remove dead code

diff --git a/src/plugins/projects-hierarchy/www/add_link.php b/src/plugins/projects-hierarchy/www/add_link.php
deleted file mode 100644
index 1cc7cf2..0000000
--- a/src/plugins/projects-hierarchy/www/add_link.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-/**
- * Project Hierarchy Plugin
- *
- * Copyright 2006 Fabien Regnier - Sogeti
- * Copyright 2010, Franck Villaume - Capgemini
- *
- * This file is part of FusionForge.
- *
- * FusionForge is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * FusionForge is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-require_once '../../env.inc.php';
-require_once $gfcommon.'include/pre.php';
-
-$group_id = getIntFromRequest('group_id');
-$sub_project_id = getIntFromRequest('sub_project_id');
-$com = getStringFromRequest('com');
-
-session_require_perm ('project_admin', $group_id) ;
-//add link between two projects
-db_begin();
-db_query_params ('INSERT INTO plugin_projects_hierarchy (project_id ,sub_project_id,link_type,com) VALUES ($1 , $2, $3,$4)',
-			array ($group_id,
-				$sub_project_id,
-				'navi',
-				$com)) or die(db_error());
-db_commit();
-
-header("Location: ".util_make_url ('/project/admin/index.php?group_id='.$group_id));

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

Summary of changes:
 src/plugins/projects-hierarchy/www/add_link.php | 42 -------------------------
 1 file changed, 42 deletions(-)
 delete mode 100644 src/plugins/projects-hierarchy/www/add_link.php


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list