diff options
Diffstat (limited to 'database/sqlite/administration.c')
| -rw-r--r-- | database/sqlite/administration.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/database/sqlite/administration.c b/database/sqlite/administration.c index e75dccd..f831c69 100644 --- a/database/sqlite/administration.c +++ b/database/sqlite/administration.c @@ -1565,7 +1565,7 @@ xmlDoc *eDBadminGetLastlog(eurephiaCTX *ctx, xmlDoc *srch, const char *sortkeys) // The search XML document format is: // <eurephia format="1"> -// <attemptslog mode="{search|add|delete}"> +// <attemptslog mode="{search|reset|delete}"> // <fieldMapping table="attempts"> // <{field name}>{field value}</{field field}> // </fieldMapping> @@ -1575,7 +1575,7 @@ xmlDoc *eDBadminGetLastlog(eurephiaCTX *ctx, xmlDoc *srch, const char *sortkeys) // It can be several search field tags to limit the search even more. // xmlDoc *attempts_list(eurephiaCTX *ctx, eDBfieldMap *fmap); -xmlDoc *attempts_add(eurephiaCTX *ctx, eDBfieldMap *fmap); +xmlDoc *attempts_reset(eurephiaCTX *ctx, eDBfieldMap *fmap); xmlDoc *attempts_delete(eurephiaCTX *ctx, eDBfieldMap *fmap); xmlDoc *eDBadminAttemptsLog(eurephiaCTX *ctx, xmlDoc *qryxml) { @@ -1612,8 +1612,8 @@ xmlDoc *eDBadminAttemptsLog(eurephiaCTX *ctx, xmlDoc *qryxml) { if( strcmp(mode, "list") == 0 ) { resxml = attempts_list(ctx, fmap); - } else if( strcmp(mode, "add") == 0 ) { - resxml = attempts_add(ctx, fmap); + } else if( strcmp(mode, "reset") == 0 ) { + resxml = attempts_reset(ctx, fmap); } else if( strcmp(mode, "delete") == 0 ) { resxml = attempts_delete(ctx, fmap); } else { |
