src/hg/lib/wikiTrack.c 1.29
1.29 2010/05/25 23:53:59 hiram
show wiki track even if not logged in
Index: src/hg/lib/wikiTrack.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/wikiTrack.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -b -B -U 4 -r1.28 -r1.29
--- src/hg/lib/wikiTrack.c 25 May 2010 23:39:07 -0000 1.28
+++ src/hg/lib/wikiTrack.c 25 May 2010 23:53:59 -0000 1.29
@@ -329,9 +329,9 @@
/*determine if wikiTrack can be used, and is this user logged into the wiki ?*/
{
static boolean done = FALSE;
static boolean status = FALSE;
-static boolean wikiUp = FALSE;
+static boolean wikiUp = TRUE;
static char *userName = NULL;
/* do not repeat this query */
if (done)
@@ -387,11 +387,11 @@
{
page = fetchEditPage(TEST_EMAIL_VERIFIED);
}
errCatchEnd(errCatch);
- if (! errCatch->gotError)
+ if (errCatch->gotError) // we think it is supposed to be there
{
- wikiUp = TRUE;
+ wikiUp = FALSE; // but it will not respond
}
errCatchFree(&errCatch);
char *loginExpired = NULL;
if (page)