X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions-functions.php;h=10a4dfc36cb353aff7fe84d14dc617f85d718c00;hb=3360f076d2251f554b2dfb420c18367af363ce2a;hp=e85a690cfb09932f411838a1ba1c3bbe3a636628;hpb=865d8f7670c976d59d5699d72958c8c00f6af70e;p=mailer.git diff --git a/inc/extensions-functions.php b/inc/extensions-functions.php index e85a690cfb..10a4dfc36c 100644 --- a/inc/extensions-functions.php +++ b/inc/extensions-functions.php @@ -248,7 +248,7 @@ function registerExtension ($ext_name, $taskId, $isDryRun = FALSE, $ignoreUpdate $processResult = FALSE; initIncludePool('extension'); - // By default we have no failures + // By default there is no failure enableExtensionReportingFailure(); // Does this extension exists? @@ -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; @@ -1084,7 +1084,7 @@ function createNewExtensionTask ($ext_name) { // Load text for task if found if (isFileReadable($FQFN)) { // Load extension's description template (but do not compile the code) - $message = loadTemplate('ext_' . $ext_name, TRUE, array(), FALSE); + $message = '{OPEN_TEMPLATE}template,LoadTemplate=ext_' . $ext_name . '{CLOSE_TEMPLATE}'; } else { // Write this in debug.log as well logDebugMessage(__FUNCTION__, __LINE__, $message);