Fix stupid get vs. set typo in nextJobDB.php
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 16 Nov 2010 16:48:20 +0000 (16:48 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 16 Nov 2010 16:48:20 +0000 (16:48 +0000)
maintenance/nextJobDB.php

index 808e9fa..7f6aa40 100644 (file)
@@ -41,7 +41,7 @@ class nextJobDB extends Maintenance {
                # If we didn't get it from the cache
                if ( !$pendingDBs ) {
                        $pendingDBs = $this->getPendingDbs( $type );
-                       $wgMemc->get( $mckey, $pendingDBs, 300 );
+                       $wgMemc->set( $mckey, $pendingDBs, 300 );
                }
                # If we've got a pending job in a db, display it.
                if ( $pendingDBs ) {