faf767571f701aec7738d97554b4cea24a1aa804 max Fri Mar 27 05:57:53 2015 +0100 Revert "Removing GSAID code. BrianR said that's OK." This reverts commit 324e56bb2fe619534c60a35706fb7bfc188c737f. diff --git src/hg/lib/validateGisaid.c src/hg/lib/validateGisaid.c new file mode 100644 index 0000000..f76eaaf --- /dev/null +++ src/hg/lib/validateGisaid.c @@ -0,0 +1,21 @@ +/* This is a dummy function for non-GISAID server */ + +/* Copyright (C) 2014 The Regents of the University of California + * See README in this or parent directory for licensing information. */ +#include "common.h" + +#include "hCommon.h" + +boolean validateGisaidUser() +{ +if (hIsGisaidServer()) + { + /* The real implementation has confidential logic, which could not be exposed */ + errAbort("The correct validateGisaidUser() implementation is not installed on this GISAID server."); + return FALSE; + } +else + { + return TRUE; + } +}