a6c6e72281b967d907a6a8f76aa105ccd31ac6a4 galt Thu Jun 6 11:08:53 2013 -0700 redundant setUdcCacheDir call removed diff --git src/hg/hgTracks/mainMain.c src/hg/hgTracks/mainMain.c index 31f7b64..bfb0c0c 100644 --- src/hg/hgTracks/mainMain.c +++ src/hg/hgTracks/mainMain.c @@ -29,31 +29,30 @@ measureTime(NULL); setUdcCacheDir(); browserName = hBrowserName(); organization = "UCSC"; /* change title if this is for GSID */ browserName = (hIsGsidServer() ? "Sequence View" : browserName); organization = (hIsGsidServer() ? "GSID" : organization); organization = (hIsGisaidServer() ? "GISAID" : organization); /* Push very early error handling - this is just * for the benefit of the cgiVarExists, which * somehow can't be moved effectively into doMiddle. */ htmlPushEarlyHandlers(); cgiSpoof(&argc, argv); -setUdcCacheDir(); /* should be set before cart for hgTracks */ char * link = webTimeStampedLinkToResourceOnFirstCall("HGStyle.css",TRUE); // resource file link if (link) // wrapped in html htmlSetStyle(link); oldVars = hashNew(10); if (hIsGsidServer()) cartHtmlShell("GSID Sequence View", doMiddle, hUserCookie(), excludeVars, oldVars); else cartHtmlShell("UCSC Genome Browser v"CGI_VERSION, doMiddle, hUserCookie(), excludeVars, oldVars); if (measureTiming) measureTime("Time to write and close cart"); if (measureTiming) { fprintf(stdout, "Overall total time: %ld millis
\n", clock1000() - enteredMainTime);