Renamed function, used more "pool functions":
[mailer.git] / inc / extensions-functions.php
index c026edd0736736da53ba3e3ff606a9f2181f467f..6fbbe22afaa825ee9f24c758e0b6ffb690c7d503 100644 (file)
@@ -395,7 +395,7 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate
                                 * Use the insert id as extension id and "cache" all data for
                                 * this extension for early usage.
                                 */
-                               copyExtensionDataToCacheArray($currentName, SQL_INSERTID());
+                               copyExtensionDataToCacheArray($currentName, SQL_INSERT_ID());
 
                                // Mark it as installed
                                $GLOBALS['ext_is_installed'][$currentName] = TRUE;