diff options
author | Christian Pointner <equinox@helsinki.at> | 2012-02-17 19:29:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2012-02-17 19:29:26 (GMT) |
commit | eff30d15df8108d41c9d5c95362911ebcceec740 (patch) | |
tree | 00b381ee1842d173914ae8d79aa1cbb4e44d4920 /rhimport.pm | |
parent | 343227c978a8ce240a140264869714c672111802 (diff) |
fixed pv add note (with type/status)
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 ); |