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 544a4facc2fce14698384edd947a4109f37335b7 (commit)
from 922d6ad4dbece9c15c25ec0ed1a0289731df049a (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=544a4facc2fce14698384edd947a4109f37335b7
commit 544a4facc2fce14698384edd947a4109f37335b7
Author: Marc-Etienne Vargenau <[email protected]>
Date: Fri Mar 24 11:09:55 2017 +0100
Remove unused variables
diff --git a/src/common/forum/ForumAdmin.class.php
b/src/common/forum/ForumAdmin.class.php
index 3265c40..0446baf 100644
--- a/src/common/forum/ForumAdmin.class.php
+++ b/src/common/forum/ForumAdmin.class.php
@@ -328,7 +328,6 @@ class ForumAdmin extends FFError {
$ids .= db_result($res,$i,'msg_id') . ",";
}
- $i = 2;
echo $HTML->listTableTop($title);
while ($onemsg = db_fetch_array($res)) {
echo "
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 33ed873..31e8a41 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -641,7 +641,6 @@ if (isset($params['group']) && $params['group']) {
*/
function listTableTop($titleArray = array(), $linksArray = array(),
$class = '', $id = '', $thClassArray = array(), $thTitleArray = array(),
$thOtherAttrsArray = array()) {
$attrs = array('class' => 'listing');
- $args = '';
if ($class) {
$attrs['class'] .= ' '.$class;
} else {
diff --git a/src/www/people/people_utils.php b/src/www/people/people_utils.php
index d0d26f2..58f2aa3 100644
--- a/src/www/people/people_utils.php
+++ b/src/www/people/people_utils.php
@@ -186,8 +186,6 @@ function people_edit_skill_inventory($user_id) {
}
//add a new skill
- $i++; //for row coloring
-
echo '<tr class="tableheading"><td colspan="4">'._('Add a new
skill').'/td></tr>';
echo $HTML->openForm(array('action' => getStringFromServer('PHP_SELF'),
'method' => 'post'));
echo '<tr>
@@ -198,7 +196,6 @@ function people_edit_skill_inventory($user_id) {
</tr>';
echo $HTML->closeForm();
echo $HTML->listTableBottom();
-
}
@@ -335,8 +332,6 @@ function people_edit_job_inventory($job_id,$group_id) {
}
//add a new skill
- (isset($i)) ? $i++ : $i = 0; //for row coloring
-
echo '<tr><td colspan="4"><h3>'._('Add a new skill').'</h3></td></tr>
<tr>';
echo $HTML->openForm(array('action' => getStringFromServer('PHP_SELF'),
'method' => 'post'));
-----------------------------------------------------------------------
Summary of changes:
src/common/forum/ForumAdmin.class.php | 1 -
src/www/include/Layout.class.php | 1 -
src/www/people/people_utils.php | 5 -----
3 files changed, 7 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits