Remove some more unused variables
This commit is contained in:
parent
710b86f0a8
commit
cc218ccc8f
5 changed files with 1 additions and 6 deletions
|
|
@ -1086,8 +1086,6 @@ class HTMLFloatField extends HTMLTextField {
|
|||
return wfMsgExt( 'htmlform-float-invalid', 'parse' );
|
||||
}
|
||||
|
||||
$in_range = true;
|
||||
|
||||
# The "int" part of these message names is rather confusing.
|
||||
# They make equal sense for all numbers.
|
||||
if ( isset( $this->mParams['min'] ) ) {
|
||||
|
|
|
|||
|
|
@ -1060,7 +1060,6 @@ class Preferences {
|
|||
$wgDefaultUserOptions['date'] = 'default';
|
||||
}
|
||||
|
||||
$idCnt = 0;
|
||||
$epoch = wfTimestampNow();
|
||||
foreach ( $dateopts as $key ) {
|
||||
if ( $key == 'default' ) {
|
||||
|
|
|
|||
|
|
@ -1163,7 +1163,6 @@ class RevDel_FileItem extends RevDel_Item {
|
|||
return '<span class="history-deleted">' . $link . '</span>';
|
||||
} else {
|
||||
# Regular files...
|
||||
$url = $this->file->getUrl();
|
||||
return Xml::element( 'a', array( 'href' => $this->file->getUrl() ), $date );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1122,7 +1122,7 @@ EOF;
|
|||
$overhead = "SAVEPOINT $ignore ON ROLLBACK RETAIN CURSORS";
|
||||
db2_exec($this->mConn, $overhead, $this->mStmtOptions);
|
||||
|
||||
$res2 = $this->execute($stmt, $row);
|
||||
$this->execute($stmt, $row);
|
||||
// get the last inserted value into a generated column
|
||||
$this->calcInsertId($table, $primaryKey, $stmt);
|
||||
|
||||
|
|
|
|||
|
|
@ -1113,7 +1113,6 @@ class ConverterRule {
|
|||
*/
|
||||
function parseRules() {
|
||||
$rules = $this->mRules;
|
||||
$flags = $this->mFlags;
|
||||
$bidtable = array();
|
||||
$unidtable = array();
|
||||
$variants = $this->mConverter->mVariants;
|
||||
|
|
|
|||
Loading…
Reference in a new issue