Allow passing of 'allow_pkgpart' and 'import' flags up the chain to FS::cust_pkg...
[freeside.git] / FS / FS / pkg_class.pm
index 8132dd5..8b66c16 100644 (file)
@@ -69,12 +69,8 @@ sub _target_table { 'part_pkg'; }
 
 sub check {
     my $self = shift;
-    my $error = $self->ut_numbern('fcc_ds0s')
-        || $self->SUPER::check
-    ;
-    return $error if $error;
-
-    '';
+    $self->ut_numbern('fcc_ds0s')
+        || $self->SUPER::check;
 }
 
 =item insert