src/hg/hgGene/hgGene.c 1.114
1.114 2009/03/12 21:51:26 fanhsu
Disabled the otherOrg section for CGB server for the time being.
Index: src/hg/hgGene/hgGene.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGene/hgGene.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -b -B -U 4 -r1.113 -r1.114
--- src/hg/hgGene/hgGene.c 13 Feb 2009 02:38:28 -0000 1.113
+++ src/hg/hgGene/hgGene.c 12 Mar 2009 21:51:26 -0000 1.114
@@ -1,6 +1,7 @@
/* hgGene - A CGI script to display the gene details page.. */
#include "common.h"
+#include "hCommon.h"
#include "linefile.h"
#include "hash.h"
#include "dystring.h"
#include "jksql.h"
@@ -350,9 +351,10 @@
struct section *sectionList = NULL;
readRa("section.ra", §ionRa);
addGoodSection(linksSection(conn, sectionRa), conn, §ionList);
-addGoodSection(otherOrgsSection(conn, sectionRa), conn, §ionList);
+/* disable ortherOrg section for CGB servers for the time being */
+if (!hIsCgbServer()) addGoodSection(otherOrgsSection(conn, sectionRa), conn, §ionList);
addGoodSection(gadSection(conn, sectionRa), conn, §ionList);
addGoodSection(ctdSection(conn, sectionRa), conn, §ionList);
//addGoodSection(microarraySection(conn, sectionRa), conn, §ionList);