summaryrefslogtreecommitdiff
path: root/rhimport.pm
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2012-02-17 19:29:26 (GMT)
committerChristian Pointner <equinox@helsinki.at>2012-02-17 19:29:26 (GMT)
commiteff30d15df8108d41c9d5c95362911ebcceec740 (patch)
tree00b381ee1842d173914ae8d79aa1cbb4e44d4920 /rhimport.pm
parent343227c978a8ce240a140264869714c672111802 (diff)
fixed pv add note (with type/status)
Diffstat (limited to 'rhimport.pm')
-rw-r--r--rhimport.pm5
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 );