Searched hist:a5debd11989e592856f864bfca820c4e918e8843 (Results 1 – 2 of 2) sorted by relevance
| /dokuwiki/inc/Action/ |
| H A D | Subscribe.php | a5debd11989e592856f864bfca820c4e918e8843 Thu May 14 20:27:11 UTC 2026 Andreas Gohr <andi@splitbrain.org> remove valid_input_set(), inline the only remaining callers
The Input::valid() method on $INPUT already provides the cleaner API originally requested in #667. The last two callers in Subscribe.php validated against a local $params array (not $_POST/$_GET) and need to throw a specific exception, so inline a small in_array + throw at those call sites rather than carry the legacy helper.
The class could probably be made cleaner but that's beyond the scope of this change.
Closes #667
|
| /dokuwiki/inc/ |
| H A D | common.php | a5debd11989e592856f864bfca820c4e918e8843 Thu May 14 20:27:11 UTC 2026 Andreas Gohr <andi@splitbrain.org> remove valid_input_set(), inline the only remaining callers
The Input::valid() method on $INPUT already provides the cleaner API originally requested in #667. The last two callers in Subscribe.php validated against a local $params array (not $_POST/$_GET) and need to throw a specific exception, so inline a small in_array + throw at those call sites rather than carry the legacy helper.
The class could probably be made cleaner but that's beyond the scope of this change.
Closes #667
|