diff options
author | icy <kyanh@viettug.org> | 2012-05-09 17:33:07 +0700 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-12-30 14:42:00 +0100 |
commit | 506ee7c16e3d7689a78db6b3ed31f6e93b96cd69 (patch) | |
tree | f50363b95f7f3be258209f6b5523693f68024684 /lib | |
parent | adf8ab5c90fbb5579d231b81a20fe87b33c36f0a (diff) |
check if format is valid before creating/seting/...
as the old code only checks if the format name is empty, we can set any
kind of key/value in the database. for example, this command will work
without any error reported:
trocla set someuser strange_format
I replace the method miss_format by check_format that should be invoked
before any thing related to format.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions