winnt-dont-do-unneeded-version-check-20010918
authorJames Peterson <jimpeter@us.ibm.com>
Thu, 20 Sep 2001 00:18:54 +0000 (00:18 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 20 Sep 2001 00:18:54 +0000 (00:18 +0000)
make afs config wizard not complain about version < 3.5

src/WINNT/afssvrcfg/afscfg.cpp

index 2420915..2f41449 100644 (file)
@@ -180,16 +180,6 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLineA, int nCm
                return 0;
        }
 
-    // Check the version of the client.  It must be at least 35.
-    if (g_CfgData.nClientVersion < 35) {
-        int nMajor, nMinor;
-        nMajor = g_CfgData.nClientVersion / 10;
-        nMinor = g_CfgData.nClientVersion - (nMajor * 10);
-        g_LogFile.Write("The version of the AFS Client on this machine (%d.%d) is too old to run the server.  The Client must be at least version 3.5.\r\n", nMajor, nMinor);
-               ErrorDialog(0, IDS_ERROR_CLIENT_VERSION);
-        return 0;
-    }
-
        // Run the appropriate interface
        if ((strstr(_strlwr(pszCmdLineA), "wizard") != 0))
                RunWizard();