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  c8987bbc5877e5b52b58d790e50cc6833aea3c81 (commit)
      from  b4003d112e899c0d0ce7e4b4d78bb4b1776ca4ed (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=c8987bbc5877e5b52b58d790e50cc6833aea3c81

commit c8987bbc5877e5b52b58d790e50cc6833aea3c81
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Mon Oct 16 09:45:10 2017 +0200

    Whitespace

diff --git a/src/common/forum/ForumFactory.class.php 
b/src/common/forum/ForumFactory.class.php
index 7939c71..0166c07 100644
--- a/src/common/forum/ForumFactory.class.php
+++ b/src/common/forum/ForumFactory.class.php
@@ -58,7 +58,7 @@ class ForumFactory extends FFError {
                }
                if (!$skip_check && !$Group->usesForum()) {
                        $this->setError(sprintf(_('%s does not use the Forum 
tool.'),
-                           $Group->getPublicName()));
+                               $Group->getPublicName()));
                        return;
                }
                $this->Group =& $Group;
@@ -74,7 +74,7 @@ class ForumFactory extends FFError {
        }
 
        function &getAllForumIds() {
-               $result = array () ;
+               $result = array();
                $res = db_query_params('SELECT group_forum_id FROM 
forum_group_list
                                        WHERE group_forum_id NOT IN (
                                                SELECT group_forum_id FROM 
forum_group_list WHERE group_forum_id IN (
@@ -83,25 +83,25 @@ class ForumFactory extends FFError {
                                        ORDER BY group_forum_id',
                                        array($this->Group->getID()));
                if (!$res) {
-                       return $result ;
+                       return $result;
                }
                while ($arr = db_fetch_array($res)) {
-                       $result[] = $arr['group_forum_id'] ;
+                       $result[] = $arr['group_forum_id'];
                }
-               return $result ;
+               return $result;
        }
 
        function &getAllForumIdsWithNews() {
-               $result = array () ;
+               $result = array();
                $res = db_query_params('SELECT group_forum_id FROM 
forum_group_list WHERE group_id=$1 ORDER BY group_forum_id',
                                        array($this->Group->getID()));
                if (!$res) {
-                       return $result ;
+                       return $result;
                }
                while ($arr = db_fetch_array($res)) {
-                       $result[] = $arr['group_forum_id'] ;
+                       $result[] = $arr['group_forum_id'];
                }
-               return $result ;
+               return $result;
        }
 
        /**
@@ -144,7 +144,7 @@ class ForumFactory extends FFError {
                                $result = db_query_params('SELECT * FROM 
forum_group_list_vw
                                                        WHERE group_id=$1
                                                        ORDER BY 
group_forum_id',
-                                                       
array($this->Group->getID())) ;
+                                                       
array($this->Group->getID()));
                        }
                } else {
                        $this->setError(_('You are not allowed to access this 
page'));
@@ -158,7 +158,7 @@ class ForumFactory extends FFError {
                        } else {
                                $rows = db_numrows($result);
                                if ($rows <= 0) {
-                                       $this->setError(_('No forums found.')); 
+                                       $this->setError(_('No forums found.'));
                                        $this->forums = false;
                                } else {
                                        while ($arr = db_fetch_array($result)) {

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

Summary of changes:
 src/common/forum/ForumFactory.class.php | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 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