*/
class DBLockForm {
var $reason = '';
-
+
function DBLockForm() {
global $wgRequest;
$this->reason = $wgRequest->getText( 'wpLockReason' );
}
-
- function showForm( $err )
- {
- global $wgOut, $wgUser, $wgLang;
+
+ function showForm( $err ) {
+ global $wgOut, $wgUser;
$wgOut->setPagetitle( wfMsg( 'lockdb' ) );
$wgOut->addWikiText( wfMsg( 'lockdbtext' ) );