2d30d99f5f6d3d6532166a0c70c89d38e6053fb1 braney Fri Apr 5 16:57:02 2024 -0700 ongoing work on quickLift diff --git src/hg/hgTracks/exportedDataHubs.c src/hg/hgTracks/exportedDataHubs.c index c636229..e86444d 100644 --- src/hg/hgTracks/exportedDataHubs.c +++ src/hg/hgTracks/exportedDataHubs.c @@ -1,52 +1,45 @@ // Code to parse list of exported data track hubs from table and print as browser dialog // for client dialog (js) // /* Copyright (C) 2024 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "dystring.h" #include "hCommon.h" #include "hgConfig.h" #include "htmshell.h" #include "hash.h" #include "web.h" #include "ra.h" #include "hgTracks.h" #include "hgFind.h" #include "obscure.h" #include "net.h" #include "hubConnect.h" #include "trackHub.h" #include "exportedDataHubs.h" -boolean exportedDataHubsEnabled() -/* Return TRUE if feature is available */ -{ -char *cfgEnabled = cfgOption("browser.exportedDataHubs"); -return cfgEnabled && (sameString(cfgEnabled, "on") || sameString(cfgEnabled, "true")) ; -} - void printExportedDataHubs(char *db) /* Fill out exported data hubs popup. */ { if (!exportedDataHubsEnabled()) return; hPrintf("