<?php
+/**
+ *
+ */
+/**
+ * Constructor
+ */
function wfSpecialLockdb()
{
global $wgUser, $wgOut, $wgRequest;
else { $f->showForm( "" ); }
}
+/**
+ *
+ */
class DBLockForm {
- var $reason = "";
+ var $reason = '';
function DBLockForm() {
global $wgRequest;
}
- function doSubmit()
- {
+ function doSubmit() {
global $wgOut, $wgUser, $wgLang, $wgRequest;
global $wgReadOnlyFile;
$wgOut->redirect( $titleObj->getFullURL( "action=success" ) );
}
- function showSuccess()
- {
+ function showSuccess() {
global $wgOut, $wgUser;
$wgOut->setPagetitle( wfMsg( "lockdb" ) );