diff options
author | Phy <git@phy25.com> | 2020-03-09 18:54:53 -0400 |
---|---|---|
committer | Phy <git@phy25.com> | 2020-03-09 18:54:53 -0400 |
commit | bc20e40a4ab0df5c6b605ec117b3f0a8e6c816f0 (patch) | |
tree | 199548f565dd3cc97b13718db7a79db1a02a02e5 /lib/scripts/fileuploader.js | |
parent | 69a18e87a66b26f1e683359c6773a53aa713e46c (diff) | |
download | dokuwiki-bc20e40a4ab0df5c6b605ec117b3f0a8e6c816f0.tar.gz dokuwiki-bc20e40a4ab0df5c6b605ec117b3f0a8e6c816f0.zip |
add overwrite option on extension upload form
By default, on frontend $overwrite is false. Backend function installFromUpload
/ installFromURL will have a default of true to preserve existing behavior for
other API users.
installArchive now will insert a frontend msg() about not installing because of
overwrite restriction. It's not being exposed by exception, but it should be
reflected on its return array list of installed plugin.
This fixes #715.
Diffstat (limited to 'lib/scripts/fileuploader.js')
0 files changed, 0 insertions, 0 deletions