8715d83d38d8bb18adfdd9ce05771b4cede85407
angie
  Fri Dec 5 09:52:07 2014 -0800
Moved some hgTables code that had been copied into a couple differentplaces into a new lib module, cartTrackDb.  hgGenome/import.c has code
that is fairly similar but that also needs to filter out custom tracks
that were generated by hgGenome.

diff --git src/hg/lib/hCommon.c src/hg/lib/hCommon.c
index b1d6ac1..8bd3c7d 100644
--- src/hg/lib/hCommon.c
+++ src/hg/lib/hCommon.c
@@ -370,15 +370,20 @@
 {
 hDumpStackDisallow();
 vaErrAbort(format, args);
 }
 
 void hUserAbort(char *format, ...)
 /* errAbort when a `user' error is detected.  This is an error that comes
  * from user input. This disables the logging stack dumps. */
 {
 va_list args;
 va_start(args, format);
 hVaUserAbort(format, args);
 va_end(args);
 }
 
+boolean hAllowAllTables(void)
+/* Return TRUE if hg.conf's hgta.disableAllTables doesn't forbid an 'all tables' menu. */
+{
+return !cfgOptionBooleanDefault("hgta.disableAllTables", FALSE);
+}