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 a0ab57d9b63faa7a0e589463c9db7f286addd851 (commit) from 3f83fd02b864c69825302286bf8b2a349a8acbf2 (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=a0ab57d9b63faa7a0e589463c9db7f286addd851 commit a0ab57d9b63faa7a0e589463c9db7f286addd851 Author: Franck Villaume <franck.villa...@trivialdev.com> Date: Thu May 20 12:57:34 2021 +0200 fix wrong test, fixing all SCM plugins... diff --git a/src/common/include/SCMPlugin.class.php b/src/common/include/SCMPlugin.class.php index 1932aa8..936ef35 100644 --- a/src/common/include/SCMPlugin.class.php +++ b/src/common/include/SCMPlugin.class.php @@ -4,7 +4,7 @@ * * Copyright 2004-2009, Roland Mas * Copyright (C) 2011-2012 Alain Peyrat - Alcatel-Lucent - * Copyright 2012,2014,2017-2018, Franck Villaume - TrivialDev + * Copyright 2012,2014,2017-2018,2021, 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 @@ -339,7 +339,7 @@ abstract class SCMPlugin extends Plugin { return false; } elseif ($project->isError()) { return false; - } elseif ($project->isActive()) { + } elseif (!$project->isActive()) { return false; } elseif (!$project->usesSCM()) { return false; ----------------------------------------------------------------------- Summary of changes: src/common/include/SCMPlugin.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- FusionForge _______________________________________________ Fusionforge-commits mailing list Fusionforge-commits@lists.fusionforge.org http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits