*
* @ingroup Maintenance
*/
-class mcTest extends Maintenance {
+class McTest extends Maintenance {
public function __construct() {
parent::__construct();
$this->mDescription = "Makes several 'set', 'incr' and 'get' requests on every"
foreach ( $servers as $server ) {
$this->output(
str_pad( $server, $maxSrvLen ),
- $server # output channel
+ $server # output channel
);
$mcc = new MemCachedClientforWiki( array(
*/
private function microtime_float() {
list( $usec, $sec ) = explode( " ", microtime() );
+
return ( (float)$usec + (float)$sec );
}
}
-$maintClass = "mcTest";
+$maintClass = "McTest";
require_once RUN_MAINTENANCE_IF_MAIN;