[Fusionforge-commits] FusionForge branch master updated. b8ce24b997914470ddf8d7f23a5bae853674e6c4

Franck VILLAUME nerville at fusionforge.org
Sun May 26 12:43:25 CEST 2013


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  b8ce24b997914470ddf8d7f23a5bae853674e6c4 (commit)
      from  e0a3906db81ae50181f44e577ad6f0df41668a84 (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 -----------------------------------------------------------------
commit b8ce24b997914470ddf8d7f23a5bae853674e6c4
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun May 26 12:42:50 2013 +0200

    cronjob: user_group table is obsolete

diff --git a/src/cronjobs/project_cleanup.php b/src/cronjobs/project_cleanup.php
index af02288..b2cd24f 100755
--- a/src/cronjobs/project_cleanup.php
+++ b/src/cronjobs/project_cleanup.php
@@ -2,6 +2,7 @@
 <?php
 /**
  * Copyright 1999-2001 (c) VA Linux Systems
+ * Copyright 2013, Franck Villaume - TrivialDev
  *
  * This file is part of FusionForge. FusionForge is free software;
  * you can redistribute it and/or modify it under the terms of the
@@ -41,11 +42,6 @@ WHERE status=$1 and add_date < $2 AND users.user_id=pfo_user_role.user_id)',
 		 array ('P',
 			$then));
 $err .= db_error();
-db_query_params ('DELETE FROM user_group WHERE EXISTS (SELECT user_id FROM users
-WHERE status=$1 and add_date < $2 AND users.user_id=user_group.user_id)',
-		 array ('P',
-			$then));
-$err .= db_error();
 $result = db_query_params ('SELECT user_id, email FROM users WHERE status=$1 and add_date < $2',
 			   array ('P',
 				  $then));

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

Summary of changes:
 src/cronjobs/project_cleanup.php |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list