[Fusionforge-commits] FusionForge branch master updated. 6.0.4-403-g0cf0587

Franck Villaume nerville at libremir.placard.fr.eu.org
Thu Apr 28 18:04:59 CEST 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  0cf05874e0f0842e631921f7a545abbd52c72a3a (commit)
       via  a4ae68ce566d5494ec0ceddbf82a5acd059c10ea (commit)
      from  2fab87dffece48ead5282bd9b97ea82377203737 (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=0cf05874e0f0842e631921f7a545abbd52c72a3a

commit 0cf05874e0f0842e631921f7a545abbd52c72a3a
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Apr 28 18:04:39 2016 +0200

    remove trailing ?>

diff --git a/src/cronjobs/db/calculate_user_metric.php b/src/cronjobs/db/calculate_user_metric.php
index 70c6774..683d626 100755
--- a/src/cronjobs/db/calculate_user_metric.php
+++ b/src/cronjobs/db/calculate_user_metric.php
@@ -286,5 +286,3 @@ $err .= db_error();
 cron_entry(1,$err);
 
 db_commit();
-
-?>
diff --git a/src/cronjobs/db/daily_task_email.php b/src/cronjobs/db/daily_task_email.php
index da043d2..5007fba 100755
--- a/src/cronjobs/db/daily_task_email.php
+++ b/src/cronjobs/db/daily_task_email.php
@@ -123,4 +123,3 @@ for ($i=0; $i<db_numrows($res);$i++) {
 }
 
 cron_entry(22,$err);
-?>
diff --git a/src/cronjobs/db/db_project_sums.php b/src/cronjobs/db/db_project_sums.php
index b058a8e..0d9acc9 100755
--- a/src/cronjobs/db/db_project_sums.php
+++ b/src/cronjobs/db/db_project_sums.php
@@ -147,5 +147,3 @@ db_commit();
 $err .= db_error();
 
 cron_entry(3,$err);
-
-?>
diff --git a/src/cronjobs/db/db_stats_agg.php b/src/cronjobs/db/db_stats_agg.php
index 7cfb05e..2cfa1b5 100755
--- a/src/cronjobs/db/db_stats_agg.php
+++ b/src/cronjobs/db/db_stats_agg.php
@@ -143,5 +143,3 @@ $err .= db_error();
 db_commit();
 
 cron_entry(4,$err);
-
-?>
diff --git a/src/cronjobs/db/project_cleanup.php b/src/cronjobs/db/project_cleanup.php
index 6296c66..912c607 100755
--- a/src/cronjobs/db/project_cleanup.php
+++ b/src/cronjobs/db/project_cleanup.php
@@ -104,5 +104,3 @@ if (db_error()) {
 }
 
 cron_entry(7,$err);
-
-?>
diff --git a/src/cronjobs/db/project_weekly_metric.php b/src/cronjobs/db/project_weekly_metric.php
index 8d79605..5d6eda1 100755
--- a/src/cronjobs/db/project_weekly_metric.php
+++ b/src/cronjobs/db/project_weekly_metric.php
@@ -271,5 +271,3 @@ db_drop_table_if_exists("project_metric_weekly_tmp1");
 db_drop_sequence_if_exists("project_metric_week_ranking_seq");
 
 cron_entry(8,$err);
-
-?>
diff --git a/src/cronjobs/db/rating_stats.php b/src/cronjobs/db/rating_stats.php
index 8004ff5..aba51a7 100755
--- a/src/cronjobs/db/rating_stats.php
+++ b/src/cronjobs/db/rating_stats.php
@@ -46,5 +46,3 @@ if (db_error()) {
 }
 
 cron_entry(9,$err);
-
-?>
diff --git a/src/cronjobs/db/reporting_cron.php b/src/cronjobs/db/reporting_cron.php
index 1c0282d..81f3dd2 100755
--- a/src/cronjobs/db/reporting_cron.php
+++ b/src/cronjobs/db/reporting_cron.php
@@ -47,5 +47,3 @@ db_commit();
 
 $err .= "Done: ".date('Ymd H:i').' - '.db_error();
 cron_entry(20,$err);
-
-?>
diff --git a/src/cronjobs/db/rotate_activity.php b/src/cronjobs/db/rotate_activity.php
index 5daae07..c9ce847 100755
--- a/src/cronjobs/db/rotate_activity.php
+++ b/src/cronjobs/db/rotate_activity.php
@@ -38,5 +38,3 @@ db_commit();
 if (!$err) $err = 'Done';
 
 cron_entry(10,$err);
-
-?>
diff --git a/src/cronjobs/db/site_stats.php b/src/cronjobs/db/site_stats.php
index 2e7648e..c612341 100755
--- a/src/cronjobs/db/site_stats.php
+++ b/src/cronjobs/db/site_stats.php
@@ -134,5 +134,3 @@ include 'cronjobs/db/stats_projects.inc';
 project_stats_day($year,$month,$day);
 
 cron_entry(11,$err);
-
-?>
diff --git a/src/cronjobs/db/stats_projects-backfill.php b/src/cronjobs/db/stats_projects-backfill.php
index 9a459a1..a345179 100755
--- a/src/cronjobs/db/stats_projects-backfill.php
+++ b/src/cronjobs/db/stats_projects-backfill.php
@@ -47,5 +47,3 @@ while($i < 515) {
 
 	project_stats_day($year,$month,$day);
 }
-
-?>
diff --git a/src/cronjobs/db/vacuum.php b/src/cronjobs/db/vacuum.php
index ebdde73..383caf5 100755
--- a/src/cronjobs/db/vacuum.php
+++ b/src/cronjobs/db/vacuum.php
@@ -44,5 +44,3 @@ if (!$res) {
 }
 
 cron_entry(12,$err);
-
-?>
diff --git a/src/cronjobs/ftp/ftp_create_group_access.php b/src/cronjobs/ftp/ftp_create_group_access.php
index d3c1e6f..a76bbdb 100755
--- a/src/cronjobs/ftp/ftp_create_group_access.php
+++ b/src/cronjobs/ftp/ftp_create_group_access.php
@@ -77,4 +77,3 @@ function execute($cmd)
         // print_debug ("res= ".$res);
         return $res;
 }
-?>
diff --git a/src/cronjobs/lists/mailing_lists_create.php b/src/cronjobs/lists/mailing_lists_create.php
index 740cca9..14b81f9 100755
--- a/src/cronjobs/lists/mailing_lists_create.php
+++ b/src/cronjobs/lists/mailing_lists_create.php
@@ -345,5 +345,3 @@ for($k = 0; $k < $rows; $k++) {
 }
 
 cron_entry(18, $err);
-
-?>
diff --git a/src/cronjobs/misc/auth_unix.php b/src/cronjobs/misc/auth_unix.php
index c1037ff..3feeb1f 100755
--- a/src/cronjobs/misc/auth_unix.php
+++ b/src/cronjobs/misc/auth_unix.php
@@ -205,5 +205,3 @@ if ($err != "")
 	$err = "Error" . $err;
 }
 cron_entry (16, $err);
-
-?>
diff --git a/src/cronjobs/misc/forum_gateway.php b/src/cronjobs/misc/forum_gateway.php
index d78b5a0..8ca67fd 100755
--- a/src/cronjobs/misc/forum_gateway.php
+++ b/src/cronjobs/misc/forum_gateway.php
@@ -321,5 +321,3 @@ if ($listforum->isError()) {
 } else {
 //	DBG("Success!!");
 }
-
-?>
diff --git a/src/cronjobs/misc/tracker_gateway.php b/src/cronjobs/misc/tracker_gateway.php
index f2fac9b..55c34c7 100755
--- a/src/cronjobs/misc/tracker_gateway.php
+++ b/src/cronjobs/misc/tracker_gateway.php
@@ -287,5 +287,3 @@ if ($myTrackerGateway->isError()) {
 } else {
 //	DBG("Success!!");
 }
-
-?>
diff --git a/src/cronjobs/misc/weekly.php b/src/cronjobs/misc/weekly.php
index 5e0515b..96ec713 100755
--- a/src/cronjobs/misc/weekly.php
+++ b/src/cronjobs/misc/weekly.php
@@ -59,5 +59,3 @@ cron_entry(29, $params['output']);
 // mode: php
 // c-file-style: "bsd"
 // End:
-
-?>
diff --git a/src/cronjobs/scm/generate_scm_snapshots.php b/src/cronjobs/scm/generate_scm_snapshots.php
index d135d7d..afba951 100755
--- a/src/cronjobs/scm/generate_scm_snapshots.php
+++ b/src/cronjobs/scm/generate_scm_snapshots.php
@@ -56,5 +56,3 @@ while ($data = db_fetch_array ($res)) {
 // mode: php
 // c-file-style: "bsd"
 // End:
-
-?>

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=a4ae68ce566d5494ec0ceddbf82a5acd059c10ea

commit a4ae68ce566d5494ec0ceddbf82a5acd059c10ea
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Apr 28 18:00:29 2016 +0200

    tab vs. space

diff --git a/src/cronjobs/db/project_cleanup.php b/src/cronjobs/db/project_cleanup.php
index ae0d42a..6296c66 100755
--- a/src/cronjobs/db/project_cleanup.php
+++ b/src/cronjobs/db/project_cleanup.php
@@ -47,21 +47,21 @@ $result = db_query_params ('SELECT user_id, email FROM users WHERE status=$1 and
 				  $then));
 if (db_numrows($result)) {
 
-  // Plugins subsystem
-  require_once 'common/include/Plugin.class.php';
-  require_once 'common/include/PluginManager.class.php';
+	// Plugins subsystem
+	require_once 'common/include/Plugin.class.php';
+	require_once 'common/include/PluginManager.class.php';
 
-  // SCM-specific plugins subsystem
-  require_once 'common/include/SCMPlugin.class.php';
+	// SCM-specific plugins subsystem
+	require_once 'common/include/SCMPlugin.class.php';
 
-  setup_plugin_manager () ;
+	setup_plugin_manager () ;
 
-  while ($row = db_fetch_array($result)) {
-    $hook_params = array();
-    $hook_params['user'] = user_get_object($row['user_id']);
-    $hook_params['user_id'] = $row['user_id'];
-    plugin_hook ("user_delete", $hook_params);
-  }
+	while ($row = db_fetch_array($result)) {
+		$hook_params = array();
+		$hook_params['user'] = user_get_object($row['user_id']);
+		$hook_params['user_id'] = $row['user_id'];
+		plugin_hook ("user_delete", $hook_params);
+	}
 }
 
 db_query_params ('DELETE FROM users WHERE status=$1 and add_date < $2',

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

Summary of changes:
 src/cronjobs/db/calculate_user_metric.php    |  2 --
 src/cronjobs/db/daily_task_email.php         |  1 -
 src/cronjobs/db/db_project_sums.php          |  2 --
 src/cronjobs/db/db_stats_agg.php             |  2 --
 src/cronjobs/db/project_cleanup.php          | 26 ++++++++++++--------------
 src/cronjobs/db/project_weekly_metric.php    |  2 --
 src/cronjobs/db/rating_stats.php             |  2 --
 src/cronjobs/db/reporting_cron.php           |  2 --
 src/cronjobs/db/rotate_activity.php          |  2 --
 src/cronjobs/db/site_stats.php               |  2 --
 src/cronjobs/db/stats_projects-backfill.php  |  2 --
 src/cronjobs/db/vacuum.php                   |  2 --
 src/cronjobs/ftp/ftp_create_group_access.php |  1 -
 src/cronjobs/lists/mailing_lists_create.php  |  2 --
 src/cronjobs/misc/auth_unix.php              |  2 --
 src/cronjobs/misc/forum_gateway.php          |  2 --
 src/cronjobs/misc/tracker_gateway.php        |  2 --
 src/cronjobs/misc/weekly.php                 |  2 --
 src/cronjobs/scm/generate_scm_snapshots.php  |  2 --
 19 files changed, 12 insertions(+), 48 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list