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

Revision: 84595
Author:   demon
Date:     2011-03-23 14:50:52 +0000 (Wed, 23 Mar 2011)
Log Message:
-----------
Followup r83485: don't hardcode the mem limit in two places, just reuse the 
const

Modified Paths:
--------------
    trunk/extensions/CodeReview/backend/Subversion.php

Modified: trunk/extensions/CodeReview/backend/Subversion.php
===================================================================
--- trunk/extensions/CodeReview/backend/Subversion.php  2011-03-23 14:24:22 UTC 
(rev 84594)
+++ trunk/extensions/CodeReview/backend/Subversion.php  2011-03-23 14:50:52 UTC 
(rev 84595)
@@ -127,8 +127,8 @@
        function __construct( $repo ) {
                parent::__construct( $repo );
                global $wgMaxShellMemory;
-               if( $wgMaxShellMemory < SubversionShell::MIN_MEMORY ) {
-                       $wgMaxShellMemory = 204800;
+               if( $wgMaxShellMemory < self::MIN_MEMORY ) {
+                       $wgMaxShellMemory = self::MIN_MEMORY;
                        wfDebug( __METHOD__ . " raised wgMaxShellMemory to 
$wgMaxShellMemory\n" );
                }
        }


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

Reply via email to