src/hg/hgCustom/hgCustom.c 1.133
1.133 2009/11/03 00:25:43 angie
Added setUdcCacheDir() as in hgTracks, hgc etc. Without it, files were being initialized in /tmp/udcCache not our locally configured /data/apache/trash/udcCache.
Index: src/hg/hgCustom/hgCustom.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgCustom/hgCustom.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -b -B -U 4 -r1.132 -r1.133
--- src/hg/hgCustom/hgCustom.c 24 Sep 2009 17:07:44 -0000 1.132
+++ src/hg/hgCustom/hgCustom.c 3 Nov 2009 00:25:43 -0000 1.133
@@ -980,8 +980,10 @@
cart = theCart;
initialDb = cloneString(cartString(cart, "db"));
getDbAndGenome(cart, &database, &organism, oldVars);
+setUdcCacheDir();
+
if (sameString(initialDb, "0"))
{
/* when an organism is selected from the custom track management page,
* set the database to be the default only if it has custom tracks.