Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a8828a3

Browse files
committedMar 1, 2013
Issue #15556: remove unused variable
$c_private is initialized but never used in bugnote_add()'s scope.
1 parent 9ec47a0 commit a8828a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎core/bugnote_api.php

-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ function bugnote_is_user_reporter( $p_bugnote_id, $p_user_id ) {
127127
function bugnote_add( $p_bug_id, $p_bugnote_text, $p_time_tracking = '0:00', $p_private = false, $p_type = 0, $p_attr = '', $p_user_id = null, $p_send_email = TRUE, $p_log_history = TRUE) {
128128
$c_bug_id = db_prepare_int( $p_bug_id );
129129
$c_time_tracking = helper_duration_to_minutes( $p_time_tracking );
130-
$c_private = db_prepare_bool( $p_private );
131130
$c_type = db_prepare_int( $p_type );
132131

133132
$t_bugnote_text_table = db_get_table( 'mantis_bugnote_text_table' );

0 commit comments

Comments
 (0)
Please sign in to comment.