]> git.mxchange.org Git - mailer.git/commitdiff
Commented it out again and added another one (already out)
authorRoland Häder <roland@mxchange.org>
Tue, 2 Oct 2012 15:16:18 +0000 (15:16 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 2 Oct 2012 15:16:18 +0000 (15:16 +0000)
inc/extensions-functions.php

index 6495a05b65ad7f22981dc458c0737d16fbc39cd1..dc6b67f9b4df11df30ca0907968dca731da54d43 100644 (file)
@@ -1042,7 +1042,7 @@ function createNewExtensionTask ($ext_name) {
        $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);
+       //* 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 . '%}';
@@ -1080,6 +1080,7 @@ function createExtensionDeactivationTask ($ext_name) {
        $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))) {
                // Task not created so add it
                $taskId = createNewTask($subject, SQL_ESCAPE(loadTemplate('task_EXTENSION_deactivated', true, $ext_name)), 'EXTENSION_DEACTIVATION');