From b355f9a5605a8f73e801e8e4c07884960456eb45 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 19 Jan 2009 23:43:54 +0000 Subject: [PATCH] Follow up to r45915: disable profiler.php (not the udp versions and such) for maintenance scripts --- maintenance/commandLine.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maintenance/commandLine.inc b/maintenance/commandLine.inc index a23bb6eb50..6b1f913b4c 100644 --- a/maintenance/commandLine.inc +++ b/maintenance/commandLine.inc @@ -264,3 +264,5 @@ require_once( "$IP/includes/Setup.php" ); require_once( "$IP/install-utils.inc" ); $wgTitle = null; # Much much faster startup than creating a title object @set_time_limit(0); + +$wgProfiling = false; // only for Profiler.php mode; avoids OOM errors -- 2.20.1