X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fqueue_arg.pm;h=8e9a10d284d882b145d44896fdbf5eb05402b08b;hp=08fe473412581726bc6375efc199cdeb3fd57b4e;hb=395cc72629d31c8dcd138acf423e66d2d73d89d2;hpb=c0567c688084e89fcd11bf82348b6c418f1254ac diff --git a/FS/FS/queue_arg.pm b/FS/FS/queue_arg.pm index 08fe47341..8e9a10d28 100644 --- a/FS/FS/queue_arg.pm +++ b/FS/FS/queue_arg.pm @@ -36,6 +36,8 @@ FS::Record. The following fields are currently supported: =item jobnum - see L +=item frozen - argument is frozen with Storable + =item arg - argument =back @@ -46,7 +48,7 @@ FS::Record. The following fields are currently supported: =item new HASHREF -Creates a new argument. To add the example to the database, see L<"insert">. +Creates a new argument. To add the argument to the database, see L<"insert">. Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the I method. @@ -96,19 +98,16 @@ sub check { my $error = $self->ut_numbern('argnum') || $self->ut_numbern('jobnum') + || $self->ut_enum('frozen', [ '', 'Y' ]) || $self->ut_anything('arg') ; return $error if $error; - ''; #no error + $self->SUPER::check; } =back -=head1 VERSION - -$Id: queue_arg.pm,v 1.1 2001-09-11 00:08:18 ivan Exp $ - =head1 BUGS =head1 SEE ALSO