IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2005, 6:31:19 PM (21 years ago)
Author:
jhoblitt
Message:

use PS::IPP::MetaDB->add_new() instead of calling ->create directly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-MetaDB/scripts/mdb-add-new

    r5163 r5165  
    33# Copyright (C) 2005  Joshua Hoblitt
    44#
    5 # $Id: mdb-add-new,v 1.1 2005-09-28 02:37:59 jhoblitt Exp $
     5# $Id: mdb-add-new,v 1.2 2005-09-28 04:31:19 jhoblitt Exp $
    66
    77use strict;
     
    4141    unless defined $exp_id and defined $class_id and defined $url;
    4242
    43 PS::IPP::MetaDB::Image::New->create({
     43PS::IPP::MetaDB->add_new(
    4444    exp_id      => $exp_id,
    4545    class_id    => $class_id,
     
    4747    class       => $class,
    4848    url         => $url,
    49 });
     49);
    5050
    5151__END__
Note: See TracChangeset for help on using the changeset viewer.