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  e92ccc1623ccd103873bfabf240504a31c76aabc (commit)
      from  bae1477f9b48b2827f13935331d7e901afc23274 (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=e92ccc1623ccd103873bfabf240504a31c76aabc

commit e92ccc1623ccd103873bfabf240504a31c76aabc
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Thu Feb 2 18:55:02 2017 +0100

    setError has only one argument

diff --git a/src/common/include/Group.class.php 
b/src/common/include/Group.class.php
index 7261e40..1049257 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -1860,7 +1860,7 @@ class Group extends FFError {
                for ($i=0; $i<db_numrows($res); $i++) {
                        $Forum = new 
Forum($news_group,db_result($res,$i,'forum_id'));
                        if (!$Forum->delete(1,1)) {
-                               $this->setError(_('Could not delete News 
Forum')._(': '),$Forum->getID());
+                               $this->setError(_('Could not delete News 
Forum')._(': ').$Forum->getID());
                                return false;
                        }
                }
@@ -1869,7 +1869,7 @@ class Group extends FFError {
                for ($i = 0; $i < db_numrows($res); $i++) {
                        $Forum = new Forum($this, db_result($res, $i, 
'forum_id'));
                        if (!$Forum->delete(1, 1)) {
-                               $this->setError(_('Could not delete News 
Forum')._(': '), $Forum->getID());
+                               $this->setError(_('Could not delete News 
Forum')._(': ').$Forum->getID());
                                return false;
                        }
                }

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

Summary of changes:
 src/common/include/Group.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

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

Reply via email to