Also ext-user needs to be excluded here
[mailer.git] / inc / daily / daily_user.php
index 5c5e6ac088224d68b92a8c84c09552530a3b316c..72bb2cf596f830eb98397d89cbf422b0c287578b 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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;
 }