X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fdaily%2Fdaily_user.php;h=72bb2cf596f830eb98397d89cbf422b0c287578b;hp=5c5e6ac088224d68b92a8c84c09552530a3b316c;hb=7afedc21c1bb4bb91092840a6b6f94ac2cff469f;hpb=b4c80165024acf8963971a72e5c3ca970b3e646d diff --git a/inc/daily/daily_user.php b/inc/daily/daily_user.php index 5c5e6ac088..72bb2cf596 100644 --- a/inc/daily/daily_user.php +++ b/inc/daily/daily_user.php @@ -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; }