[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1924-ga8998fc

Franck Villaume nerville at libremir.placard.fr.eu.org
Sat Jun 10 15:08:35 CEST 2017


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  a8998fc7fe2e965effeb37b6cb60e015375fb362 (commit)
      from  884564f6d171433f6eb9cf790952ac32009d3fc9 (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=a8998fc7fe2e965effeb37b6cb60e015375fb362

commit a8998fc7fe2e965effeb37b6cb60e015375fb362
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sat Jun 10 15:02:46 2017 +0200

    remove unused code

diff --git a/src/plugins/mediawiki/www/frame.php b/src/plugins/mediawiki/www/frame.php
deleted file mode 100644
index cb2ee63..0000000
--- a/src/plugins/mediawiki/www/frame.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-
-/*
- * MediaWiki plugin
- *
- * Copyright 2009, Roland Mas
- * Copyright 2006, Daniel Perez
- *
- */
-
-require_once '../../env.inc.php';
-require_once $gfcommon.'include/pre.php';
-
-$group_id = getIntFromRequest('group_id');
-$pluginname = 'mediawiki' ;
-
-$group = group_get_object($group_id);
-if (!$group) {
-	exit_error ("Invalid Project", "Invalid Project");
-}
-
-if (!$group->usesPlugin ($pluginname)) {
-	exit_error ("Error", "First activate the $pluginname plugin through the Project's Admin Interface");
-}
-
-$params = array () ;
-$params['toptab']      = $pluginname;
-$params['group']       = $group_id;
-$params['title']       = _('wiki') ;
-$params['pagename']    = $pluginname;
-$params['sectionvals'] = array ($group->getPublicName());
-
-site_project_header($params);
-
-if (file_exists (forge_get_config('data_path').'/plugins/mediawiki/wikidata/'.$group->getUnixName().'/LocalSettings.php')) {
-	echo '<iframe src="'.util_make_url('/plugins/mediawiki/wiki/'.$group->getUnixName().'/index.php').'" frameborder="0" width=100% height=700></iframe>' ;
-} else {
-	print '<h2>'._('Wiki not created yet, please wait for a few minutes.').'</h2>';
-}
-
-site_project_footer();
-
-// Local Variables:
-// mode: php
-// c-file-style: "bsd"
-// End:

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

Summary of changes:
 src/plugins/mediawiki/www/frame.php | 46 -------------------------------------
 1 file changed, 46 deletions(-)
 delete mode 100644 src/plugins/mediawiki/www/frame.php


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list