diff options
Diffstat (limited to 'rhimport.pm')
-rw-r--r-- | rhimport.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rhimport.pm b/rhimport.pm index e0bc11d..1c7efb4 100644 --- a/rhimport.pm +++ b/rhimport.pm @@ -330,11 +330,6 @@ sub delete_file sub pv_add_note { my ( $title, $text, $id, $date, $type ) = @_; - $type = 1 if undef($type); - # 0 -> Cancelation - # 1 -> Recommandation - # 2 -> Repitition - my @script = ('/usr/bin/ssh', 'root@intranet', 'addnote', $id, $date, $type); my ($reader, $writer, $error ) = ( new IO::Handle, new IO::Handle, new IO::Handle ); |