Index: trunk/phase3/includes/ForkController.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | |
36 | 36 | public function __construct( $numProcs, $flags = 0 ) { |
37 | 37 | if ( php_sapi_name() != 'cli' ) { |
38 | | - throw new MWException( "MultiProcess cannot be used from the web." ); |
| 38 | + throw new MWException( "ForkController cannot be used from the web." ); |
39 | 39 | } |
40 | 40 | $this->procsToStart = $numProcs; |
41 | 41 | $this->flags = $flags; |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | // Don't share DB or memcached connections |
121 | 121 | wfGetLBFactory()->destroyInstance(); |
122 | 122 | ObjectCache::clear(); |
123 | | - unset( $wgMemc ); |
| 123 | + $wgMemc = null; |
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |