From: Roland Häder Date: Sat, 7 Mar 2009 06:48:36 +0000 (+0000) Subject: Tasks are now registered again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=218aaa7c38e0c92a511cfd837a4554acd1f40ca3;p=mailer.git Tasks are now registered again --- diff --git a/inc/extensions.php b/inc/extensions.php index 56739fe0b5..1fd297707c 100644 --- a/inc/extensions.php +++ b/inc/extensions.php @@ -222,8 +222,8 @@ function EXTENSION_REGISTER ($ext_name, $task_id, $dry_run = false, $logout = tr runFilterChain('pre_extension_installed', array('dry_run' => $dry_run)); // Register extension - //SQL_QUERY_ESC("INSERT INTO `{!_MYSQL_PREFIX!}_extensions` (ext_name, ext_active, ext_version) VALUES ('%s','%s','%s')", - // array($ext_name, EXT_GET_ALWAYS_ACTIVE(), EXT_GET_VERSION()), __FILE__, __LINE__); + SQL_QUERY_ESC("INSERT INTO `{!_MYSQL_PREFIX!}_extensions` (ext_name, ext_active, ext_version) VALUES ('%s','%s','%s')", + array($ext_name, EXT_GET_ALWAYS_ACTIVE(), EXT_GET_VERSION()), __FILE__, __LINE__); // Remove cache file(s) if extension is active runFilterChain('post_extension_installed', array('ext_name' => $ext_name, 'task_id' => $task_id, 'inc_pool' => $INC_POOL)); diff --git a/inc/libs/surfbar_functions.php b/inc/libs/surfbar_functions.php index a3a27f0f9a..f18cd14f92 100644 --- a/inc/libs/surfbar_functions.php +++ b/inc/libs/surfbar_functions.php @@ -1207,10 +1207,12 @@ function SURFBAR_CHANGE_STATUS ($urlId, $prevStatus, $newStatus, $data=array()) // ---------- Comment out for debugging/developing member actions! --------- // Was that fine? + // ---------- Comment out for debugging/developing member actions! --------- //if (SQL_AFFECTEDROWS() != 1) { // // No, something went wrong // return false; //} // END - if + // ---------- Comment out for debugging/developing member actions! --------- // Prepare content for notification routines $data[$urlId]['uid'] = $data[$urlId]['userid'];