Changeset 527 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
1999-09-03T21:51:47+12:00 (25 years ago)
Author:
rjmcnab
Message:

removed the argdefault configuration option (it should now be
done with cgiarg)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/action.cpp

    r506 r527  
    1212/*
    1313   $Log$
     14   Revision 1.15  1999/09/03 09:51:47  rjmcnab
     15   removed the argdefault configuration option (it should now be
     16   done with cgiarg)
     17
    1418   Revision 1.14  1999/09/02 00:22:42  rjmcnab
    1519   Changes to get it compiling on AIX
     
    9599
    96100// configure should be called once for each configuration line
    97 // the default version configures the default for any arguments
    98 // which this action uses
    99 void action::configure (const text_t &key, const text_tarray &cfgline) {
    100   cgiarginfo *info = NULL;
    101   if ((key == "argdefault") && (cfgline.size() == 2) &&
    102       ((info = argsinfo.getarginfo(cfgline[0])) != NULL)) {
    103     if (info->defaultstatus <= cgiarginfo::config) {
    104       info->defaultstatus = cgiarginfo::config;
    105       info->argdefault = cfgline[1];
    106     }
    107   }
     101// the default version does nothing
     102void action::configure (const text_t &/*key*/, const text_tarray &/*cfgline*/) {
    108103}
    109104
Note: See TracChangeset for help on using the changeset viewer.