Also ext-user needs to be excluded here
authorRoland Häder <roland@mxchange.org>
Thu, 30 Jun 2011 23:41:44 +0000 (23:41 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 30 Jun 2011 23:41:44 +0000 (23:41 +0000)
inc/daily/daily_user.php

index 90f803f..72bb2cf 100644 (file)
@@ -41,8 +41,8 @@ if (!defined('__SECURITY')) {
 } elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
        // Do not execute when script is in CSS mode or no daily reset
        return;
-} elseif (!isExtensionActive('sql_patches')) {
-       logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
+} elseif ((!isExtensionActive('sql_patches')) || (!isExtensionActive('user'))) {
+       logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension(s) disabled.');
        return;
 }