Refactored duplicated code into JobRunner.php
commit094d901b88ff59501b7b3f38fb7f7241379acfdf
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 24 Jul 2014 22:03:23 +0000 (24 15:03 -0700)
committerOri.livneh <ori@wikimedia.org>
Fri, 25 Jul 2014 17:28:10 +0000 (25 17:28 +0000)
treee162ff28a7428ac8f702f9d0ca2235f4d45d2518
parent969ddb49dafd636657701141910be31ff9e2ad8b
Refactored duplicated code into JobRunner.php

* Also added an async flag to SpecialRunJobs so that it can be
  set to false to get a JSON blob back with a regular 200 status.

Change-Id: I2f5763e017684c3c61f3d3f27ddf7f7834bdfce2
includes/AutoLoader.php
includes/jobqueue/JobRunner.php [copied from maintenance/runJobs.php with 76% similarity]
includes/specials/SpecialRunJobs.php
maintenance/runJobs.php