Ignore:
Timestamp:
2007-07-25T13:37:52+12:00 (17 years ago)
Author:
oranfry
Message:

merged selected changes to the gsdl trunk since r14217 into the 2.74 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/branches/gsdl-2.74/src/recpt/usersaction.cpp

    r13844 r14270  
    147147
    148148void usersaction::configure (const text_t &key, const text_tarray &cfgline) {
    149   // get the password filename
    150   if (cfgline.size() == 1) {
    151     if (key == "usersfile") usersfile = cfgline[0];
    152   }
    153 
    154149  action::configure (key, cfgline);
    155150}
     
    161156    return false;
    162157  }
    163 
    164   if (usersfile.empty()) usersfile = filename_cat (gdbmhome, "etc", "users.db");
    165158
    166159  return action::init (logout);
     
    193186                 outconvertclass &outconvert, ostream &textout,
    194187                 ostream &logout) {
    195 
    196   // open the user database (it will be used a lot)
    197   user_database = new userdbclass(usersfile);
    198188
    199189  if (args["uma"] == "adduser" || args["uma"] == "edituser") {
Note: See TracChangeset for help on using the changeset viewer.