]> git.mxchange.org Git - mailer.git/commitdiff
Tasks are now registered again
authorRoland Häder <roland@mxchange.org>
Sat, 7 Mar 2009 06:48:36 +0000 (06:48 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 7 Mar 2009 06:48:36 +0000 (06:48 +0000)
inc/extensions.php
inc/libs/surfbar_functions.php

index 56739fe0b521f819db16cbebb0ba709439122401..1fd297707c9bc120267ea49e1bb350ff6d5b6714 100644 (file)
@@ -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));
index a3a27f0f9a35fd208b0302314ce116591490d187..f18cd14f9261493186fc6726d6f5dc56ea81811a 100644 (file)
@@ -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'];