]> git.mxchange.org Git - mailer.git/commitdiff
Fixes for SQL execution and deprecated files removed
authorRoland Häder <roland@mxchange.org>
Fri, 19 Dec 2008 19:24:53 +0000 (19:24 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 19 Dec 2008 19:24:53 +0000 (19:24 +0000)
.gitattributes
inc/databases.php
inc/extensions.php
inc/load_extensions.php
inc/modules/admin/what-autopurge.php [deleted file]
inc/modules/admin/what-config_reg.php [deleted file]
inc/theme-dummy.php [deleted file]
templates/de/emails/admin/admin_support-order.tpl [deleted file]
templates/de/emails/member/member_support-order.tpl [deleted file]
templates/de/html/admin/admin_data_saved.tpl [deleted file]

index 684360a5732a186e80a7261887915d54e95e739d..a5f1534345658b48ba717f7a9a663c1ebae10df6 100644 (file)
@@ -303,7 +303,6 @@ inc/modules/admin/what-admins_add.php -text
 inc/modules/admin/what-admins_contct.php -text
 inc/modules/admin/what-admins_edit.php -text
 inc/modules/admin/what-admins_mails.php -text
-inc/modules/admin/what-autopurge.php -text
 inc/modules/admin/what-bonus.php -text
 inc/modules/admin/what-cache_stats.php -text
 inc/modules/admin/what-chk_regs.php -text
@@ -334,7 +333,6 @@ inc/modules/admin/what-config_proxy.php -text
 inc/modules/admin/what-config_rallye_prices.php -text
 inc/modules/admin/what-config_refback.php -text
 inc/modules/admin/what-config_refid.php -text
-inc/modules/admin/what-config_reg.php -text
 inc/modules/admin/what-config_register.php -text
 inc/modules/admin/what-config_register2.php -text
 inc/modules/admin/what-config_removeip.php -text
@@ -606,7 +604,6 @@ inc/session.php -text
 inc/sql_error.php -text
 inc/stats_bonus.php -text
 inc/stylesheet.php -text
-inc/theme-dummy.php -text
 inc/weekly/.htaccess -text
 inc/weekly/weekly_ -text
 inc/weekly/weekly_surfbar.php -text
@@ -666,7 +663,6 @@ templates/de/emails/admin/admin_sponsor_edit.tpl -text
 templates/de/emails/admin/admin_sponsor_pending.tpl -text
 templates/de/emails/admin/admin_sponsor_reg.tpl -text
 templates/de/emails/admin/admin_sponsor_settings.tpl -text
-templates/de/emails/admin/admin_support-order.tpl -text
 templates/de/emails/admin/admin_support-ordr.tpl -text
 templates/de/emails/admin/admin_support-reflink.tpl -text
 templates/de/emails/admin/admin_support-unconfirmed.tpl -text
@@ -754,7 +750,6 @@ templates/de/emails/member/member_rallye_expired_silver.tpl -text
 templates/de/emails/member/member_rallye_notify.tpl -text
 templates/de/emails/member/member_refback.tpl -text
 templates/de/emails/member/member_stats_bonus.tpl -text
-templates/de/emails/member/member_support-order.tpl -text
 templates/de/emails/member/member_support-ordr.tpl -text
 templates/de/emails/member/member_support-reflink.tpl -text
 templates/de/emails/member/member_support-unconfirmed.tpl -text
@@ -922,7 +917,6 @@ templates/de/html/admin/admin_config_user.tpl -text
 templates/de/html/admin/admin_config_wernis.tpl -text
 templates/de/html/admin/admin_config_yoomedia.tpl -text
 templates/de/html/admin/admin_contct_user_form.tpl -text
-templates/de/html/admin/admin_data_saved.tpl -text
 templates/de/html/admin/admin_del_admins.tpl -text
 templates/de/html/admin/admin_del_admins_row.tpl -text
 templates/de/html/admin/admin_del_bank_packages.tpl -text
index 74f0cb3ba477f74b0b3ae9b96c45111113f3e778..e9351c572e3292d5ad652df950797b21f116672b 100644 (file)
@@ -115,7 +115,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // Current SVN revision
-define('CURR_SVN_REVISION', "678");
+define('CURR_SVN_REVISION', "679");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 84c6d4be5d9e66079c0c177b8f8a63070d72a781..61fe0afa93182eb3374c5d1048dc0538de2cf2fd 100644 (file)
@@ -225,7 +225,7 @@ function EXTENSION_REGISTER ($ext_name, $task_id, $dry_run = false, $logout = tr
                        // "Dry-run-mode" activated?
                        if (!$dry_run) {
                                // Run installation pre-installation filters
-                               RUN_FILTER('pre_extension_installed', false);
+                               RUN_FILTER('pre_extension_installed', false, array('dry_run' => $dry_run, 'sqls' => $SQLs));
 
                                // Register extension
                                $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_extensions (ext_name, ext_active, ext_version) VALUES ('%s','%s','%s')",
@@ -302,7 +302,7 @@ function EXTENSION_RUN_SQLS ($ext_id, $load_mode) {
        //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, ":SQLs::count=".count($SQLs)."");
        if ((is_array($SQLs) && (sizeof($SQLs) > 0))) {
                // Run SQL commands...
-               RUN_FILTER('run_sqls');
+               RUN_FILTER('run_sqls', array('dry_run' => false, 'sqls' => $SQLs));
 
                // Removal mode?
                if ($load_mode == "remove") {
index bb161afa63f28e1822368897acd48639d39c94e0..a1544e6c3c0a31408c4b4f84402165ff6be13cf5 100644 (file)
@@ -204,7 +204,6 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && ((($cacheMode == "init") && ($CSS != "1")
 
                // Load extensions
                $file1 = sprintf("%sinc/extensions/ext-%s.php", PATH, $content['ext_name']);
-               $EXT_CSS = "N"; $EXT_ALWAYS_ACTIVE = "N";
 
                // Does the extension file exists?
                if (FILE_READABLE($file1)) {
diff --git a/inc/modules/admin/what-autopurge.php b/inc/modules/admin/what-autopurge.php
deleted file mode 100644 (file)
index f87b68f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// DEPRECATED!
-?>
diff --git a/inc/modules/admin/what-config_reg.php b/inc/modules/admin/what-config_reg.php
deleted file mode 100644 (file)
index f87b68f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// DEPRECATED!
-?>
diff --git a/inc/theme-dummy.php b/inc/theme-dummy.php
deleted file mode 100644 (file)
index f87b68f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-// DEPRECATED!
-?>
diff --git a/templates/de/emails/admin/admin_support-order.tpl b/templates/de/emails/admin/admin_support-order.tpl
deleted file mode 100644 (file)
index 7a33280..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DEPRECATED!
\ No newline at end of file
diff --git a/templates/de/emails/member/member_support-order.tpl b/templates/de/emails/member/member_support-order.tpl
deleted file mode 100644 (file)
index 7a33280..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DEPRECATED!
\ No newline at end of file
diff --git a/templates/de/html/admin/admin_data_saved.tpl b/templates/de/html/admin/admin_data_saved.tpl
deleted file mode 100644 (file)
index 8be4403..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<!-- DEPRECATED! //-->