stable

Clone or download

Read-only

fix: database purge should be done when using `go` argument

request #20922 Mediawiki purge should force the purge if project is given In your bash web, use `/usr/share/tuleap/plugins/mediawiki/bin/clean-unused-db.php`command and you should the following expectation: - When there is no argument => 0 database should be deleted because it's only a dryr run - With the `go` only argument => It deletes the database from deleted project - With the `go` and a project id aarguments => It deletes the database of the project id - With `go force` arguments => It will delete all the empty wiki from non template project - With `go force 3` arguments => It will delete max 3 empty wiki databases from non template project Change-Id: Ib165e312d3ae66791c293da043aaa3c2f7828eb2

Modified Files

Name
M plugins/mediawiki/bin/clean-unused-db.php +6 −6 Go to diff View file