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 56739fe..1fd2977 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 a3a27f0..f18cd14 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'];