From: Daniel Cannon Date: Sun, 6 Apr 2008 06:50:04 +0000 (+0000) Subject: Rm FIXME, make brackets consistent with the rest of mw X-Git-Tag: 1.31.0-rc.0~48595 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=7730c8fea5ef9286d01145f8748aedfcba2fd8ec;p=lhc%2Fweb%2Fwiklou.git Rm FIXME, make brackets consistent with the rest of mw --- diff --git a/includes/SpecialRevisiondelete.php b/includes/SpecialRevisiondelete.php index 8938c731ad..9e4fd1596a 100644 --- a/includes/SpecialRevisiondelete.php +++ b/includes/SpecialRevisiondelete.php @@ -1344,8 +1344,7 @@ class RevisionDeleter { * @param int $diff The xor of the old and new bitfields. * @param array $arr The array to update. */ - function checkItem ( $desc, $field, $diff, $new, $arr ) - { + function checkItem ( $desc, $field, $diff, $new, $arr ) { if ( $diff & $field ) { $arr [ ( $new & $field ) ? 0 : 1 ][] = $desc; } @@ -1363,8 +1362,7 @@ class RevisionDeleter { * @param int $o The old bitfield. * @return An array as described above. */ - function getChanges ( $n, $o ) - { + function getChanges ( $n, $o ) { $diff = $n ^ $o; $ret = array ( 0 => array(), 1 => array(), 2 => array() ); @@ -1393,8 +1391,7 @@ class RevisionDeleter { * @param int $obitfield The old bitfield for the revision. * @param String $comment The comment associated with the change. */ - function getLogMessage ( $count, $nbitfield, $obitfield, $comment ) - { + function getLogMessage ( $count, $nbitfield, $obitfield, $comment ) { $s = ''; $changes = $this->getChanges( $nbitfield, $obitfield ); @@ -1437,7 +1434,6 @@ class RevisionDeleter { $reason = $this->getLogMessage ( $count, $nbitfield, $obitfield, $comment ); - // FIXME: do this better if( $param=='logid' ) { $params = array( implode( ',', $items) ); $log->addEntry( 'event', $title, $reason, $params );