From f8c2b09145326808223b154884209780baf18c42 Mon Sep 17 00:00:00 2001 From: SL-Gundam Date: Sat, 20 Nov 2010 19:40:56 +0100 Subject: [PATCH] FILE_MOVE_FAILED changed to ERROR_FILE_MOVE_FAILED Signed-off-by: SL-Gundam --- core/file_api.php | 2 +- proj_doc_update.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/file_api.php b/core/file_api.php index 3c61769..ff81248 100644 --- a/core/file_api.php +++ b/core/file_api.php @@ -690,7 +690,7 @@ function file_add( $p_bug_id, $p_file, $p_table = 'bug', $p_title = '', $p_desc } if( !move_uploaded_file( $t_tmp_file, $t_disk_file_name ) ) { - trigger_error( FILE_MOVE_FAILED, ERROR ); + trigger_error( ERROR_FILE_MOVE_FAILED, ERROR ); } chmod( $t_disk_file_name, config_get( 'attachments_file_permissions' ) ); diff --git a/proj_doc_update.php b/proj_doc_update.php index e092588..29f2cf0 100644 --- a/proj_doc_update.php +++ b/proj_doc_update.php @@ -95,7 +95,7 @@ file_delete_local( $t_disk_file_name ); } if ( !move_uploaded_file( $v_tmp_name, $t_disk_file_name ) ) { - trigger_error( FILE_MOVE_FAILED, ERROR ); + trigger_error( ERROR_FILE_MOVE_FAILED, ERROR ); } chmod( $t_disk_file_name, config_get( 'attachments_file_permissions' ) ); -- 1.7.3.1.msysgit.0