IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30917


Ignore:
Timestamp:
Mar 16, 2011, 11:19:07 AM (15 years ago)
Author:
rhenders
Message:

Added publish getters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czartool/Gpc1Db.pm

    r29866 r30917  
    1111###########################################################################
    1212#
    13 # Returns the right join table and ID to join on for for a given stage TODO make private
     13# Returns the right join table and ID to join on for for a given stage
    1414#
    1515###########################################################################
     
    2828    elsif ($stage eq "magicDS") {${$id} = "magic_ds_id"; ${$joinTable}="magicDSFile";}
    2929    elsif ($stage eq "dist") {${$joinTable}="distComponent";}
     30    elsif ($stage eq "pub") {${$joinTable}="publishDone";}
    3031    else {
    3132
    32         print "* ERROR: could nod find joinTable and ID for '$stage' stage\n";
     33        print "* ERROR: could not find joinTable and ID for '$stage' stage\n";
    3334        return 0;
    3435    }
     
    3940###########################################################################
    4041#
    41 # Returns the right table for a given stage TODO make private
     42# Returns the right table for a given stage
    4243#
    4344###########################################################################
     
    5455    elsif ($stage eq "magicDS" ) {return "magicDSRun";}
    5556    elsif ($stage eq "dist" ) {return "distRun";}
     57    elsif ($stage eq "pub" ) {return "publishRun";}
    5658
    5759    return "ERROR";
Note: See TracChangeset for help on using the changeset viewer.