2a1b2c58c1fbc54cb24b1476670557fdfdfef187 braney Tue Aug 16 19:20:29 2011 -0700 cleaning up the library to remove a dependency on the cart that used to be necessary when private hubs were saved in the trash, rather than the hubStatus table. This fixes up an ifdef that Tim did to fix some bug with right-click in v255 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index a6f36d4..47c8793 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -259,31 +259,31 @@ hDisconnectCentral(&conn); } static void doResetHub(struct cart *theCart) { char *url = cartOptionalString(cart, hgHubDataText); if (url != NULL) { unsigned id = hubResetError(url); /* try opening this again to reset error */ struct errCatch *errCatch = errCatchNew(); struct trackHub *tHub; if (errCatchStart(errCatch)) - tHub = trackHubFromId(theCart, id); + tHub = trackHubFromId(id); errCatchEnd(errCatch); if (errCatch->gotError) hubSetErrorMessage( errCatch->message->string, id); else hubSetErrorMessage(NULL, id); errCatchFree(&errCatch); tHub = NULL; } else errAbort("must specify url in %s\n", hgHubDataText); } static void doClearHub(struct cart *theCart) {