From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- includes/ForkController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/ForkController.php') diff --git a/includes/ForkController.php b/includes/ForkController.php index d87dfb1e..9cacef54 100644 --- a/includes/ForkController.php +++ b/includes/ForkController.php @@ -34,7 +34,7 @@ class ForkController { public function __construct( $numProcs, $flags = 0 ) { if ( php_sapi_name() != 'cli' ) { - throw new MWException( "MultiProcess cannot be used from the web." ); + throw new MWException( "ForkController cannot be used from the web." ); } $this->procsToStart = $numProcs; $this->flags = $flags; @@ -119,13 +119,13 @@ class ForkController { // Don't share DB or memcached connections wfGetLBFactory()->destroyInstance(); ObjectCache::clear(); - unset( $wgMemc ); + $wgMemc = null; } /** * Fork a number of worker processes. * - * return string + * @return string */ protected function forkWorkers( $numProcs ) { $this->prepareEnvironment(); -- cgit v1.2.3-54-g00ecf