Added debug line
authorRoland Häder <roland@mxchange.org>
Tue, 2 Oct 2012 15:15:37 +0000 (15:15 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 2 Oct 2012 15:15:37 +0000 (15:15 +0000)
inc/extensions-functions.php

index 82ed05247adc7c7337eb1dfdab9c11c9ccce1f8d..6495a05b65ad7f22981dc458c0737d16fbc39cd1 100644 (file)
@@ -1042,6 +1042,7 @@ function createNewExtensionTask ($ext_name) {
        $taskId = determineTaskIdBySubject($subject);
 
        // Not installed and do we have created a task for the admin?
        $taskId = determineTaskIdBySubject($subject);
 
        // Not installed and do we have created a task for the admin?
+       /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ext_name=' . $ext_name . ',taskId[' . gettype($taskId) . ']=' . $taskId);
        if (((is_null($taskId)) || ($taskId == '0')) && (!isExtensionInstalled($ext_name))) {
                // Set default message if ext-foo is missing
                $message = '{%message,ADMIN_EXTENSION_TEXT_FILE_MISSING=' . $ext_name . '%}';
        if (((is_null($taskId)) || ($taskId == '0')) && (!isExtensionInstalled($ext_name))) {
                // Set default message if ext-foo is missing
                $message = '{%message,ADMIN_EXTENSION_TEXT_FILE_MISSING=' . $ext_name . '%}';