diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2020-01-22 13:24:50 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2020-01-22 13:24:50 +0100 |
commit | 4352f9743c9435eb23a267b4ac253a717102fec7 (patch) | |
tree | 07909dff5a70ed191e4f2d587951e911d37ad345 /lib/scripts/fileuploader.js | |
parent | d9051c44e9ebf5cd8dd6e13851ea797598679fb4 (diff) | |
download | dokuwiki-4352f9743c9435eb23a267b4ac253a717102fec7.tar.gz dokuwiki-4352f9743c9435eb23a267b4ac253a717102fec7.zip |
Better callable support in Event default actions
Instead of parsing the passed callback ourselves, this patch relies on
call_user_func_array() instead to call an Event's default action. This
ensures all possible ways to define a callback (including static
methods) can be used.
This should fix a problem mentioned in #2943
Diffstat (limited to 'lib/scripts/fileuploader.js')
0 files changed, 0 insertions, 0 deletions