Permalink
Browse files

Issue #15556: remove unused variable

$c_private is initialized but never used in bugnote_add()'s scope.
  • Loading branch information...
1 parent 9ec47a0 commit a8828a362b6fe81d36e58b88bec943368244c490 @dregad dregad committed Mar 1, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 core/bugnote_api.php
@@ -127,7 +127,6 @@ function bugnote_is_user_reporter( $p_bugnote_id, $p_user_id ) {
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) {
$c_bug_id = db_prepare_int( $p_bug_id );
$c_time_tracking = helper_duration_to_minutes( $p_time_tracking );
- $c_private = db_prepare_bool( $p_private );
$c_type = db_prepare_int( $p_type );
$t_bugnote_text_table = db_get_table( 'mantis_bugnote_text_table' );

0 comments on commit a8828a3

Please sign in to comment.