gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/common/include Group.class,1.54,1.55


From: cbayle
Subject: [Gforge-commits] gforge/common/include Group.class,1.54,1.55
Date: Wed, 28 Jul 2004 11:14:23 -0500

Update of /cvsroot/gforge/gforge/common/include
In directory db.perdue.net:/tmp/cvs-serv31568/common/include

Modified Files:
        Group.class 
Log Message:
Return the globally defined SCM box if sys_scm_single_host = 1 


Index: Group.class
===================================================================
RCS file: /cvsroot/gforge/gforge/common/include/Group.class,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- Group.class 28 Jul 2004 15:55:12 -0000      1.54
+++ Group.class 28 Jul 2004 16:14:20 -0000      1.55
@@ -805,7 +805,11 @@
         *  @return     string  The name of the unix machine for the group.
         */
        function getSCMBox() {
-               return $this->data_array['scm_box'];
+               if ( $GLOBALS['sys_scm_single_host'] == '1' ) {
+                       return $GLOBALS['sys_scm_host'];
+               else
+                       return $this->data_array['scm_box'];
+               fi
        }
 
        /**





reply via email to

[Prev in Thread] Current Thread [Next in Thread]