]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions.php
More rewrites from double- to single-quote
[mailer.git] / inc / extensions.php
index 0d542d6d38f9af262fbe026b7e4d02c884177a7f..2f89c57450bba192a7ebd7bf58f58c8362a27ceb 100644 (file)
@@ -325,7 +325,7 @@ function REGISTER_EXTENSION ($ext_name, $task_id, $dry_run = false, $logout = tr
                //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, ": LOAD!");
                if ($logout === true) {
                        // Then redirect to logout
-                       LOAD_URL("modules.php?module=admin&logout=1&".$EXT_LOAD_MODE."=sql_patches");
+                       LOAD_URL('modules.php?module=admin&logout=1&' . $EXT_LOAD_MODE . '=sql_patches');
                } else {
                        // Add temporary filter
                        REGISTER_FILTER('shutdown', 'REDIRECT_TO_LOGOUT_SQL_PATCHES', true, true);
@@ -395,7 +395,7 @@ function EXTENSION_RUN_SQLS ($ext_id, $load_mode) {
        if ((EXT_GET_CURR_NAME() == 'sql_patches') && (($load_mode == 'register') || ($load_mode == 'remove'))) {
                // Then redirect to logout
                //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, ": LOAD!");
-               LOAD_URL("modules.php?module=admin&logout=1&".$load_mode."=sql_patches");
+               LOAD_URL('modules.php?module=admin&logout=1&' . $load_mode . '=sql_patches');
        } // END - if
 }
 
@@ -405,7 +405,7 @@ function EXT_IS_ACTIVE ($ext_name) {
        if ((!isInstalled()) || (isInstalling()) || (empty($ext_name))) return false;
 
        // Not active is the default
-       $active = "N";
+       $active = 'N';
 
        // Check cache
        if (isset($GLOBALS['cache_array']['extensions']['ext_active'][$ext_name])) {