Manual talk:Hooks/FileDeleteComplete
Add topicAppearance
Latest comment: 15 years ago by Litso
There seems to be an error in this hook, $user always returns NULL. The function DoDelete() in FileDeleteForm.php doesn't even declare the global variable $wgUser, so it's no wonder. Of course just using $wgUser in the hook function will do in most circumstances, but it's not very neat ;) Litso 13:22, 20 March 2009 (UTC)