]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / filters.php
index 3437775a70f523623ba8ef4c234d692b208c5a7d..bd3d3fabbc5c68480b6f6ad95637efc52361d237 100644 (file)
@@ -271,7 +271,7 @@ function FILTER_RUN_SQLS ($filterData) {
 
                                // Is there still a query left?
                                if (!empty($sql)) {
-                                       // Do we have an "ALTER TABLE" command?
+                                       // Is there an "ALTER TABLE" command?
                                        if (substr(strtolower($sql), 0, 11) == 'alter table') {
                                                // Analyse the alteration command
                                                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Alterting table: ' . $sql . ',enable_codes=' . intval($filterData['enable_codes']));
@@ -380,7 +380,7 @@ function FILTER_REMOVE_UPDATES ($filterData) {
        // Simply remove it
        unsetExtensionSqls();
 
-       // Do we need to remove update depency?
+       // Are there update dependencies to remove?
        if (countExtensionUpdateDependencies() > 0) {
                // Then find all updates we shall no longer execute
                foreach (getExtensionUpdateDependencies() as $id => $ext_name) {
@@ -434,7 +434,7 @@ function FILTER_COMPILE_CONFIG ($code, $compiled = false) {
        // Save the uncompiled code
        $uncompiled = $code;
 
-       // Do we have cache?
+       // Is there cache?
        if (!isset($GLOBALS['compiled_config'][$code])) {
                // Compile {?some_var?} to getConfig('some_var')
                preg_match_all('/\{\?(([a-zA-Z0-9-_]+)*)\?\}/', $code, $matches);
@@ -443,7 +443,7 @@ function FILTER_COMPILE_CONFIG ($code, $compiled = false) {
                if ((count($matches) > 0) && (count($matches[0]) > 0)) {
                        // Replace all matches
                        foreach ($matches[0] as $key => $match) {
-                               // Do we have cache?
+                               // Is there cache?
                                if (!isset($GLOBALS['compile_config'][$matches[1][$key]])) {
                                        // Is the config valid?
                                        if (isConfigEntrySet($matches[1][$key])) {
@@ -559,7 +559,7 @@ function FILTER_COMPILE_EXPRESSION_CODE ($filterData) {
                } // END - foreach
        } // END - if
 
-       // Do we have non-HTML mode?
+       // Is there non-HTML mode?
        if (!isHtmlOutputMode()) {
                $filterData = decodeEntities($filterData);
        } // END - if
@@ -877,7 +877,7 @@ function FILTER_COUNT_MODULE () {
 
 // Handles fatal errors
 function FILTER_HANDLE_FATAL_ERRORS () {
-       // Do we have errors to handle and right output mode?
+       // Is there errors to handle and right output mode?
        if ((!ifFatalErrorsDetected()) || (!isHtmlOutputMode())) {
                // Abort executing here
                return false;
@@ -990,7 +990,7 @@ function FILTER_FLUSH_TEMPLATE_CACHE () {
                return;
        } // END - if
 
-       // Do we have cached eval() data?
+       // Is there cached eval() data?
        if ((isset($GLOBALS['template_eval'])) && (count($GLOBALS['template_eval']) > 0)) {
                // Now flush all
                foreach ($GLOBALS['template_eval'] as $template => $eval) {