X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fqueue_arg.pm;h=8e9a10d284d882b145d44896fdbf5eb05402b08b;hp=39c71192f6d500e9156f35f6071f8cce64729235;hb=395cc72629d31c8dcd138acf423e66d2d73d89d2;hpb=96db7f5df100ab0ebdcb23630ada27b4702328b9 diff --git a/FS/FS/queue_arg.pm b/FS/FS/queue_arg.pm index 39c71192f..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,6 +98,7 @@ 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;