]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_network_api.php
Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-config_network_api.php
index 8fb78b177f3b0f1b872fe6cba6cdda7c7a07d71c..b2e4fe8facb330f024fa79e697b4e42ee4645a67 100644 (file)
@@ -58,7 +58,7 @@ if ($GLOBALS['network_display'] === FALSE) {
 // Is there a network selected?
 if (isGetRequestElementSet('network_id')) {
        // Check all networks that doesn't have a configuration entry
-       $result = SQL_QUERY_ESC('SELECT
+       $result = sqlQueryEscaped('SELECT
        `network_id`,
        `network_short_name`,
        `network_title`,
@@ -83,9 +83,9 @@ LIMIT 1',
                ), __FILE__, __LINE__);
 
        // Is there an entry?
-       if (SQL_NUMROWS($result) == 1) {
+       if (sqlNumRows($result) == 1) {
                // Load data
-               $content = SQL_FETCHARRAY($result);
+               $content = sqlFetchArray($result);
 
                // Is the network active?
                if (($content['network_active'] == 'N') && (!isAdminsExpertWarningEnabled()) && (!isDebugModeEnabled())) {
@@ -95,7 +95,7 @@ LIMIT 1',
                } // END - if
 
                // Query for config table
-               $result_config = SQL_QUERY_ESC('SELECT
+               $result_config = sqlQueryEscaped('SELECT
        `network_api_affiliate_id`,
        `network_api_password`,
        `network_api_site_id`,
@@ -114,13 +114,13 @@ LIMIT 1',
                        ), __FUNCTION__, __LINE__);
 
                // Is there an entry?
-               if (SQL_NUMROWS($result_config) == 1) {
+               if (sqlNumRows($result_config) == 1) {
                        // Load entries
-                       $content = merge_array($content, SQL_FETCHARRAY($result_config));
+                       $content = merge_array($content, sqlFetchArray($result_config));
                } // END - if
 
                // Free result
-               SQL_FREERESULT($result_config);
+               sqlFreeResult($result_config);
 
                // Load main template (for "add" and "edit")
                loadTemplate('admin_config_network_api', FALSE, $content);
@@ -130,7 +130,7 @@ LIMIT 1',
        }
 
        // Free result
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 } else {
        // Generate network list for this script
        $OUT = generateAdminNetworkList(TRUE);