Permalink
Browse files

Issue #15556: remove unused variable

$c_private is initialized but never used in bugnote_add()'s scope.
  • Loading branch information...
dregad committed Mar 1, 2013
1 parent 8ff13c0 commit e49ddce2e24e6ba21950eb76541e5690645de9fd
Showing with 0 additions and 1 deletion.
  1. +0 −1 core/bugnote_api.php
View
@@ -146,7 +146,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_date_submitted = 0, $p_last_modified = 0, $p_skip_bug_update = FALSE, $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 );
$c_date_submitted = $p_date_submitted <= 0 ? db_now() : db_prepare_int( $p_date_submitted );
$c_last_modified = $p_last_modified <= 0 ? db_now() : db_prepare_int( $p_last_modified );

0 comments on commit e49ddce

Please sign in to comment.