X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FnextJobDB.php;h=e66e981bb6cd0fcd98ff0c251f4560205e8ec67f;hb=1162a32ef22973ba3c92b7b91c146deef217be10;hp=ac4e723b5d6a4e9d2700597ee7b737486e77e32d;hpb=fcd74e5dd3299926be0a41b55e2ed24424568948;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/nextJobDB.php b/maintenance/nextJobDB.php index ac4e723b5d..e66e981bb6 100644 --- a/maintenance/nextJobDB.php +++ b/maintenance/nextJobDB.php @@ -17,12 +17,18 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @todo Make this work on PostgreSQL and maybe other database servers * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script that picks a database that has pending jobs. + * + * @ingroup Maintenance + */ class nextJobDB extends Maintenance { public function __construct() { parent::__construct();