import torrus 1.0.9
[freeside.git] / FS / FS / part_event / Action / suspend_unless_pkgpart.pm
index f9bf1e8..efc7a2d 100644 (file)
@@ -3,9 +3,9 @@ package FS::part_event::Action::suspend_unless_pkgpart;
 use strict;
 use base qw( FS::part_event::Action );
 
-sub description {
-  'Suspend packages except';
-}
+sub description { 'Suspend packages except'; }
+
+#i should be deprecated in favor of using the unless_pkgpart condition
 
 sub option_fields {
   ( 
@@ -18,12 +18,10 @@ sub option_fields {
                      'reason_class' => 'S',
                    },
   );
-};
-
-sub default_weight {
-  10;
 }
 
+sub default_weight { 10; }
+
 sub do_action {
   my( $self, $cust_object ) = @_;