]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/settings.php
Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / sponsor / settings.php
index db12cbef31c4c14c253d8e41f5d4bcd257ee2842..bd14fea02fa22858a827ee4fcdaf59bb59bff2be 100644 (file)
@@ -51,7 +51,7 @@ if (!defined('__SECURITY')) {
 $message = '';
 
 // Data for the formular
-$result = SQL_QUERY_ESC("SELECT
+$result = sqlQueryEscaped("SELECT
        `status`,
        `receive_warnings`,
        `warning_interval`,
@@ -70,9 +70,9 @@ LIMIT 1",
                getSession('sponsorpass')
        ), __FILE__, __LINE__);
 
-if (SQL_NUMROWS($result) == 1) {
+if (sqlNumRows($result) == 1) {
        // Load sponsor data
-       $content = SQL_FETCHARRAY($result);
+       $content = sqlFetchArray($result);
        if ($content['status'] == 'CONFIRMED') {
                // Check if form was submitted or not
                if (isFormSent()) {
@@ -129,7 +129,7 @@ if (SQL_NUMROWS($result) == 1) {
 }
 
 // Free memory
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>