From 390e9b55c187128de3576255ae522c7c85627ff9 Mon Sep 17 00:00:00 2001 From: aude Date: Tue, 9 Feb 2016 14:24:28 +0100 Subject: [PATCH] Fix fatal error in updateSearchIndex.php script setDescription does not exist as a method, but there is addDescription. Change-Id: Ifeb89d7b59a21c3028350837924963134081cd36 --- maintenance/updateSearchIndex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.20.1