Ignore:
Timestamp:
02/27/13 14:34:41 (9 years ago)
Author:
gf
Message:

webif: Simplify template loading and checking.

The subdir logic seems to complicate the code for no good reason and
as far as I can work out it does nothing. It looks like a leftover
that can be removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-webif-tpl.h

    r8434 r8436  
    4343char    *tpl_getTplPath(const char *name, const char *path, char *result, uint32_t resultsize);
    4444char    *tpl_getTpl(struct templatevars *vars, const char* name);
    45 char    *tpl_getUnparsedTpl(const char* name, int8_t removeHeader, const char* subdir);
     45char    *tpl_getUnparsedTpl(const char* name);
    4646
    4747int32_t tpl_saveIncludedTpls(const char *path);
    4848
    49 void    tpl_checkOneDirDiskRevisions(const char* subdir);
    5049void    tpl_checkDiskRevisions(void);
    5150
Note: See TracChangeset for help on using the changeset viewer.