]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-functions.php
Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / install-functions.php
index 003feec90f6457b511c12b33c8dde03ba430b6f6..8b9bb808ba5d6c35090fd048ef49850672ae8e5b 100644 (file)
@@ -274,7 +274,7 @@ function doInstallerPostCheck ($currentTab, &$saveStatus) {
                $saveStatus['status']  = 'failed';
                $saveStatus['message'] = '{%message,INSTALLER_POST_CHECK_' . strtoupper($currentTab) . '_FAILED=' . $GLOBALS['installer_post_error'][$currentTab] . '%}';
 
-               // Do we have failed fields?
+               // Is there failed fields?
                if (count($GLOBALS['installer_failed_fields'][$currentTab]) > 0) {
                        // Then merge both
                        $saveStatus['failed_fields'] = merge_array($saveStatus['failed_fields'], $GLOBALS['installer_failed_fields'][$currentTab]);
@@ -372,7 +372,7 @@ function isInstallerWebmasterValid ($value) {
                // Is it a valid email address?
                (isEmailValid($value))
        ||
-               // Or do we have 'localhost/127.0.0.1' as hostname? Then don't check email address (e.g. you@localhost)
+               // Or is there 'localhost/127.0.0.1' as hostname? Then don't check email address (e.g. you@localhost)
                (in_array(detectServerName(), array('localhost', '127.0.0.1')))
        );
 
@@ -564,7 +564,7 @@ function isInstallerPostDatabaseConfigValid ($currentTab) {
        // So check if all tables are not there
        foreach ($tables as $tableName => $isFound) {
                // Check it out
-               $tables[$tableName] = isSqlTableCreated($tableName);
+               $tables[$tableName] = ifSqlTableExists($tableName);
 
                // Is it (hopefully not) there?
                if ($tables[$tableName] === false) {