We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd7841b commit bd57703Copy full SHA for bd57703
1 file changed
app/Console/Commands/Wiki/DropDatabase.php
@@ -39,6 +39,10 @@ public function handle(): int {
39
return 0;
40
}
41
42
+ // This is a rather ugly way to clean up some of the user data from a wiki that we are about to soft delete.
43
+ //
44
+ // This directly accesses the MW DB from the platform API which is a pattern we are generally trying to avoid but
45
+ // the database is likely never going to be read by MW every again since it's next step is hard deletion.
46
private function dropWikiDb(WikiDb $wikiDb): bool {
47
$connection = $this->getWikiDbConnection($wikiDb);
48
0 commit comments