Remove errant return, breaks switch statement for 'htmlCacheUpdate' jobs
authorRob Church <robchurch@users.mediawiki.org>
Thu, 21 Jun 2007 14:21:44 +0000 (14:21 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Thu, 21 Jun 2007 14:21:44 +0000 (14:21 +0000)
includes/JobQueue.php

index ba10b28..499e415 100644 (file)
@@ -174,7 +174,6 @@ abstract class Job {
                        case 'refreshLinks':
                                return new RefreshLinksJob( $title, $params, $id );
                        case 'htmlCacheUpdate':
-                               return;
                        case 'html_cache_update': # BC
                                return new HTMLCacheUpdateJob( $title, $params['table'], $params['start'], $params['end'], $id );
                        case 'sendMail':