7a185fecc55ea44b360f04d250e64bcbaaf4d53e
hiram
  Wed Sep 2 13:45:33 2026 -0700
remove references and functions related to the "debug" argument, becomes a harmless no-operation and eliminated potential security loop-holes no redmine

diff --git src/hg/hubApi/list.c src/hg/hubApi/list.c
index e9a751232f0..ab06632a486 100644
--- src/hg/hubApi/list.c
+++ src/hg/hubApi/list.c
@@ -628,31 +628,31 @@
     /* do not show counts for protected data */
     if (! protectedTrack(db, thisTrack, track))
 	{
 	char query[2048];
 	sqlSafef(query, sizeof(query), "select count(*) from %s", splitTableName);
 	if (hti && hti->isSplit)	/* punting on split table item count */
 	    itemCount = 0;
 	else
 	    {
 	    itemCount = sqlQuickNum(conn, query);
 	    }
 	}
 hFreeConn(&conn);
 
 
-if (hti && (hti->isSplit || debug))
+if (hti && hti->isSplit)
     jsonWriteBoolean(jw, "splitTable", hti->isSplit);
 
 outputSchema(thisTrack, jw, columnNames, columnTypes, jsonTypes, hti,
   columnCount, asColumnCount, columnEl, "columnTypes");
     }
 
 outputTrackDbVars(jw, db, thisTrack, itemCount);
 
 apiFinishOutput(0, NULL, jw);
 
 }	/*	static void schemaJsonOutput(FILE *f, char *db, char *track) */
 
 /* typical rsync return
 columns: 0              1        2      3         4
 drwxrwxr-x            162 2022/10/18 16:58:16 .