Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / install / install_page_finalize.php
index 257930fbd47f907d924d77162edb8e39b1c8c167..14c2a0cc155da430e12a2af42274fc42f573a748 100644 (file)
@@ -49,12 +49,12 @@ if ((isPostRequestElementSet('finalize')) && (!isInstalled())) {
        unsetSqlLinkUp(__FILE__, __LINE__);
 
        // Connect to database server
-       SQL_CONNECT($GLOBALS['install_mysql']['host'], $GLOBALS['install_mysql']['login'], $GLOBALS['install_mysql']['password1'], __FILE__, __LINE__);
+       sqlConnectToDatabase($GLOBALS['install_mysql']['host'], $GLOBALS['install_mysql']['login'], $GLOBALS['install_mysql']['password1'], __FILE__, __LINE__);
 
        // Is the link up?
-       if (SQL_IS_LINK_UP()) {
+       if (isSqlLinkUp()) {
                // Seems to work, also right database?
-               if (SQL_SELECT_DB($GLOBALS['install_mysql']['dbase'], __FILE__, __LINE__) === TRUE) {
+               if (sqlSelectDatabase($GLOBALS['install_mysql']['dbase'], __FILE__, __LINE__) === TRUE) {
                        // Check for dumps
                        if ((!isFileReadable(postRequestElement('spath') . 'install/tables.sql')) || (!isFileReadable(postRequestElement('spath') . 'install/menu-'.getLanguage().'.sql'))) {
                                // Installation area not found