]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG/RuleDB/Notify.pm - remove unused accessors
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 28 Nov 2017 11:03:40 +0000 (12:03 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 28 Nov 2017 11:03:40 +0000 (12:03 +0100)
PMG/RuleDB/Notify.pm

index f14d11f8586cc6f301578a219dd815393680e905..d6c3043f5962edf9939dcf50507ebd2326a707be 100644 (file)
@@ -253,46 +253,6 @@ sub execute {
     }
 }
 
-sub to { 
-    my ($self, $v) = @_; 
-
-    if (defined ($v)) {
-       $self->{to} = $v;
-    }
-
-    $self->{to}; 
-}
-
-sub subject { 
-    my ($self, $v) = @_; 
-
-    if (defined ($v)) {
-       $self->{subject} = $v;
-    }
-
-    $self->{subject}; 
-}
-
-sub body { 
-    my ($self, $v) = @_; 
-
-    if (defined ($v)) {
-       $self->{body} = $v;
-    }
-
-    $self->{body}; 
-}
-
-sub attach { 
-    my ($self, $v) = @_; 
-
-    if (defined ($v)) {
-       $self->{attach} = $v;
-    }
-
-    $self->{attach}; 
-}
-
 sub short_desc {
     my $self = shift;