From: aude Date: Tue, 9 Feb 2016 13:24:28 +0000 (+0100) Subject: Fix fatal error in updateSearchIndex.php script X-Git-Tag: 1.31.0-rc.0~8047^2 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=390e9b55c187128de3576255ae522c7c85627ff9;p=lhc%2Fweb%2Fwiklou.git Fix fatal error in updateSearchIndex.php script setDescription does not exist as a method, but there is addDescription. Change-Id: Ifeb89d7b59a21c3028350837924963134081cd36 --- diff --git a/maintenance/updateSearchIndex.php b/maintenance/updateSearchIndex.php index b2f25774a8..756de27504 100644 --- a/maintenance/updateSearchIndex.php +++ b/maintenance/updateSearchIndex.php @@ -39,7 +39,7 @@ class UpdateSearchIndex extends Maintenance { public function __construct() { parent::__construct(); - $this->setDescription( 'Script for periodic off-peak updating of the search index' ); + $this->addDescription( 'Script for periodic off-peak updating of the search index' ); $this->addOption( 's', 'starting timestamp', false, true ); $this->addOption( 'e', 'Ending timestamp', false, true ); $this->addOption(