]> git.mxchange.org Git - mailer.git/commitdiff
sql_patches will never have language/function includes...
authorRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 21:14:51 +0000 (21:14 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 6 Jun 2009 21:14:51 +0000 (21:14 +0000)
inc/extensions.php

index 790c42639f72b2f72220788f10e6d85698508514..765d1d8100b7c582068f4ca8445f558c1737eeeb 100644 (file)
@@ -88,7 +88,7 @@ function LOAD_EXTENSION ($ext_name, $EXT_LOAD_MODE = '', $EXT_VER = '', $dry_run
                //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Language loaded.");
                $GLOBALS['ext_loaded']['lang'][$ext_name] = true;
                loadIncludeOnce($langInclude);
-       } else {
+       } elseif ($ext_name != 'sql_patches') {
                // No language file is not so good...
                DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no language file or we cannot read from it. lang=%s",
                        $ext_name, getLanguage()
@@ -104,7 +104,7 @@ function LOAD_EXTENSION ($ext_name, $EXT_LOAD_MODE = '', $EXT_VER = '', $dry_run
                //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, "--- Functions loaded.");
                $GLOBALS['ext_loaded']['funcs'][$ext_name] = true;
                loadIncludeOnce($funcsInclude);
-       } else {
+       } elseif ($ext_name != 'sql_patches') {
                // No functions file is not so good...
                DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("WARNING: Extension %s has no own functions file or we cannot read from it.",
                        $ext_name