Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-config_rewrite.php
index 201a54f5937b1b8a3f1905c81fbf0cf5dbfc8481..9fe424cb50babf41f49cb463091fa6f292892766 100644 (file)
@@ -62,9 +62,9 @@ if (isFormSent('save_config')) {
        adminSaveSettingsFromPostData();
 } else {
        // Load existing modules and generate TR rows for the template
-       $result = SQL_QUERY("SELECT `module`, `title` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY module", __FILE__, __LINE__);
+       $result = sqlQuery("SELECT `module`, `title` FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY module", __FILE__, __LINE__);
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Already registered module?
                if (isInString($content['module'], getConfig('rewrite_skip'))) {
                        // Found
@@ -85,7 +85,7 @@ if (isFormSent('save_config')) {
        } // END - while
 
        // Free memory
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 
        // Load main template
        loadTemplate('admin_config_rewrite', FALSE, $OUT);