http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100280

Revision: 100280
Author:   aaron
Date:     2011-10-19 21:21:20 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
Code cleanups & fixed strange comma

Modified Paths:
--------------
    trunk/phase3/includes/Revision.php

Modified: trunk/phase3/includes/Revision.php
===================================================================
--- trunk/phase3/includes/Revision.php  2011-10-19 21:10:29 UTC (rev 100279)
+++ trunk/phase3/includes/Revision.php  2011-10-19 21:21:20 UTC (rev 100280)
@@ -297,7 +297,7 @@
                        'rev_text_id',
                        'rev_timestamp',
                        'rev_comment',
-                       'rev_user_text,'.
+                       'rev_user_text',
                        'rev_user',
                        'rev_minor_edit',
                        'rev_deleted',
@@ -397,8 +397,9 @@
                        $this->mTitle     = null; # Load on demand if needed
                        $this->mCurrent   = false;
                        # If we still have no len_size, see it we have the text 
to figure it out
-                       if ( !$this->mSize )
+                       if ( !$this->mSize ) {
                                $this->mSize      = is_null( $this->mText ) ? 
null : strlen( $this->mText );
+                       }
                } else {
                        throw new MWException( 'Revision constructor passed 
invalid row format.' );
                }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to