summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-05-25 09:24:08 -0400
committerspiderr <spider@viovio.com>2012-05-25 09:24:08 -0400
commit3504901b4484b9a3cd0bdc55bd6bbbae734b7b80 (patch)
treea6277a401c5178c740c1ba26defa7fb50c311d3c /admin
parentace1e2cc8a30e7b3fec955a1992e94b328a36361 (diff)
downloadboards-3504901b4484b9a3cd0bdc55bd6bbbae734b7b80.tar.gz
boards-3504901b4484b9a3cd0bdc55bd6bbbae734b7b80.tar.bz2
boards-3504901b4484b9a3cd0bdc55bd6bbbae734b7b80.zip
bit_log_error-2-bit_error_log
Diffstat (limited to 'admin')
-rw-r--r--admin/boardsync_inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/boardsync_inc.php b/admin/boardsync_inc.php
index 61454e4..622a4ff 100644
--- a/admin/boardsync_inc.php
+++ b/admin/boardsync_inc.php
@@ -88,12 +88,12 @@ function board_sync_run($pLog = FALSE) {
$dir = TEMP_PKG_PATH.BOARDS_PKG_NAME.'/boardsync';
if( is_dir( $dir ) && strpos( $dir, BIT_ROOT_PATH ) === 0 ) {
if( !unlink_r( $dir ) ) {
- bit_log_error( "Failed to clear directory: ".$dir." in boards package mailinglist synchronization." );
+ bit_error_log( "Failed to clear directory: ".$dir." in boards package mailinglist synchronization." );
}
}
} else {
- bit_log_error( __FILE__." failed imap_open $connectionString ".imap_last_error() );
+ bit_error_log( __FILE__." failed imap_open $connectionString ".imap_last_error() );
}
}
@@ -225,7 +225,7 @@ function board_sync_process_message( $pMbox, $pMsgNum, $pMsgHeader, $pMsgStructu
$subject = board_sync_get_headerinfo( $pMsgHeader, 'Subject' );
if( empty( $message_id ) ){
- bit_log_error( "Email sync for message: ".$subject." failed: No Message Id in mail header." );
+ bit_error_log( "Email sync for message: ".$subject." failed: No Message Id in mail header." );
}else{
if ($pLog) print("Processing: ".$message_id."\n");
if ($pLog) print(" Subject: ".$subject."\n");
@@ -471,7 +471,7 @@ function board_sync_process_message( $pMbox, $pMsgNum, $pMsgHeader, $pMsgStructu
$gBitDb->CompleteTrans();
return TRUE;
}else{
- bit_log_error( "Email sync error: Message Id not set. You shouldn't have even gotten this far." );
+ bit_error_log( "Email sync error: Message Id not set. You shouldn't have even gotten this far." );
$gBitDb->RollbackTrans();
return FALSE;
}
@@ -480,7 +480,7 @@ function board_sync_process_message( $pMbox, $pMsgNum, $pMsgHeader, $pMsgStructu
return TRUE;
} else {
foreach( $storeComment->mErrors as $error ){
- bit_log_error( $error );
+ bit_error_log( $error );
}
$gBitDb->RollbackTrans();
return FALSE;