#!/usr/local/bin/php -q ",$strfiles); $str = strpos($t_comment, "Modified Files:"); $t_comment = substr($t_comment,$str); $modfiles = "Sorgente/i consolidato/i in CVS ".$strcvs."".$strfiles; // $t_comment = str_replace("Modified Files:\n\t", $modfiles, $t_comment); $t_comment = substr_replace($t_comment, $modfiles, strpos($t_comment,"Modified Files"), strpos($t_comment,"Log Message")); //echo "t_comment".$t_comment; $t_comment = str_replace("Log Message:", "

Commento checkin: ", $t_comment); #fine personalizzazione # Call the custom function to register the checkin on each issue. foreach ( $t_issues as $t_issue_id ) { if ( !in_array( $t_issue_id, $t_fixed_issues ) ) { helper_call_custom_function( 'checkin', array( $t_issue_id, $t_comment, $t_history_old_value, $t_history_new_value, false ) ); } } foreach ( $t_fixed_issues as $t_issue_id ) { helper_call_custom_function( 'checkin', array( $t_issue_id, $t_comment, $t_history_old_value, $t_history_new_value, true ) ); } exit( 0 ); ?>