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, 6.0 has been updated
       via  e63278e27b60ee268529918f75da008569811ae5 (commit)
      from  f21c5d458a7f270ec36664a25c078632648f87ed (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=e63278e27b60ee268529918f75da008569811ae5

commit e63278e27b60ee268529918f75da008569811ae5
Author: Roland Mas <[email protected]>
Date:   Wed Jun 15 13:53:22 2016 +0200

    Reset global variables in activity() method
    
    activity() can be called multiple times in a single request (with
    upcoming globalactivity plugin), so the global vars need to be reset to
    avoid leaking across projects.

diff --git a/src/plugins/scmsvn/common/SVNPlugin.class.php 
b/src/plugins/scmsvn/common/SVNPlugin.class.php
index 91b2d4c..9150929 100644
--- a/src/plugins/scmsvn/common/SVNPlugin.class.php
+++ b/src/plugins/scmsvn/common/SVNPlugin.class.php
@@ -554,6 +554,15 @@ some control over it to the project's administrator.");
                global $last_user, $last_time, $last_tag, $time_ok, 
$start_time, $end_time,
                        $adds, $deletes, $updates, $commits, $date_key,
                        $messages, $last_message, $times, $revisions, $users, 
$xml_parser;
+               $commits = 0;
+               $adds = 0;
+               $updates = 0;
+               $deletes = 0;
+               $users = array();
+               $messages = array();
+               $times = array();
+               $revisions = array();
+
                $group_id = $params['group'];
                $project = group_get_object($group_id);
                if (! $project->usesPlugin($this->name)) {

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

Summary of changes:
 src/plugins/scmsvn/common/SVNPlugin.class.php | 9 +++++++++
 1 file changed, 9 insertions(+)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to