summaryrefslogtreecommitdiff
path: root/admin/tend_mail_queue.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-06-19 02:35:20 +0000
committerChristian Fowler <spider@viovio.com>2006-06-19 02:35:20 +0000
commit52c3ae75fe0ce196368b98eebb8cb1509eff953b (patch)
tree6a2337da5afbc6d92950dd52bf6d0fe6ee205056 /admin/tend_mail_queue.php
parent5e00826a94b5c5143f481c3a444106243384f6bf (diff)
downloadnewsletters-52c3ae75fe0ce196368b98eebb8cb1509eff953b.tar.gz
newsletters-52c3ae75fe0ce196368b98eebb8cb1509eff953b.tar.bz2
newsletters-52c3ae75fe0ce196368b98eebb8cb1509eff953b.zip
merge all of wolffies changes to HEAD. Now need to work on a few things like user_id in mail_subs table, etc.
Diffstat (limited to 'admin/tend_mail_queue.php')
-rw-r--r--admin/tend_mail_queue.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/admin/tend_mail_queue.php b/admin/tend_mail_queue.php
index e99fdf6..f7bcbd8 100644
--- a/admin/tend_mail_queue.php
+++ b/admin/tend_mail_queue.php
@@ -14,17 +14,11 @@
*/
if( !empty( $argc ) ) {
// reduce feedback for command line to keep log noise way down
-// define( 'BIT_PHP_ERROR_REPORTING', E_ERROR | E_PARSE );
+ define( 'BIT_PHP_ERROR_REPORTING', E_ERROR | E_PARSE );
}
require_once( '../../bit_setup_inc.php' );
- // add some protection for arbitrary thumbail execution.
- // if argc is present, we will trust it was exec'ed command line.
- if( empty( $argc ) && !$gBitUser->isAdmin() ) {
- $gBitSystem->fatalError( 'You cannot run the thumbnailer' );
- }
-
if( $gBitSystem->isPackageActive( 'newsletters' ) ) {
require_once( NEWSLETTERS_PKG_PATH.'BitMailer.php' );
global $gBitMailer;