Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-config_home.php
index d798d53a34748aeaac4d54df15b1d26b8507763d..9f6cc0c511639ccd1dd5adec3acc066e36e51b6f 100644 (file)
@@ -77,7 +77,7 @@ switch ($sub) {
                } // END - if
 
                // Load all what menu points
-               $result = SQL_QUERY("SELECT
+               $result = sqlQuery("SELECT
        `id`,
        `what`,
        `title`
@@ -95,7 +95,7 @@ ORDER BY
                $OUT = '';
 
                // Process all entries
-               while ($content = SQL_FETCHARRAY($result)) {
+               while ($content = sqlFetchArray($result)) {
                        // Link for setting 'what' as new 'home'
                        $newHomeLink = '<a href="{%url=modules.php?module=admin&amp;what=config_home&amp;sub=target&amp;home=' . $content['what'] . '%}">{--_IS_NEW_HOME--}</a>';
 
@@ -114,7 +114,7 @@ ORDER BY
                } // END - while
 
                // Free memory
-               SQL_FREERESULT($result);
+               sqlFreeResult($result);
 
                // Load template
                loadTemplate('admin_list_home', FALSE, $OUT);