Skip to content

File Delete Package Installation Plugin#

Deletes files installed with the file package installation plugin.

You cannot delete files provided by other packages.

Components#

Each item is described as a <file> element with an optional application, which behaves like it does for acp templates. The file path is relative to the installation of the app to which the file belongs.

Example#

fileDelete.xml
1
2
3
4
5
6
7
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/fileDelete.xsd">
    <delete>
        <file>path/file.ext</file>
        <file application="app">lib/data/foo/Fou.class.php</file>
    </delete>
</data>

Last update: 2023-07-05