Removed using_web_installer variable , we do not check it anymore
authorArt Cancro <ajc@citadel.org>
Sun, 15 Nov 2015 14:09:46 +0000 (09:09 -0500)
committerArt Cancro <ajc@citadel.org>
Sun, 15 Nov 2015 14:09:46 +0000 (09:09 -0500)
citadel/utils/setup.c

index 7e8ae7aa02c7679d2f68345c204972caee2f9e56..0d6d7c03227c027448fb3852891ac2dbb1f7d985 100644 (file)
@@ -93,7 +93,6 @@ const char *EnvNames [eMaxQuestions] = {
 };
 
 int setup_type = (-1);
-int using_web_installer = 0;
 int enable_home = 1;
 char admin_name[SIZ];
 char admin_pass[SIZ];
@@ -1089,11 +1088,6 @@ int main(int argc, char *argv[])
        /* set an invalid setup type */
        setup_type = (-1);
 
-       /* Check to see if we're running the web installer */
-       if (getenv("CITADEL_INSTALLER") != NULL) {
-               using_web_installer = 1;
-       }
-
        /* parse command line args */
        for (a = 0; a < argc; ++a) {
                if (!strncmp(argv[a], "-u", 2)) {