Fix fatal error in updateSearchIndex.php script
authoraude <aude.wiki@gmail.com>
Tue, 9 Feb 2016 13:24:28 +0000 (14:24 +0100)
committeraude <aude.wiki@gmail.com>
Tue, 9 Feb 2016 13:25:21 +0000 (14:25 +0100)
setDescription does not exist as a method, but
there is addDescription.

Change-Id: Ifeb89d7b59a21c3028350837924963134081cd36

maintenance/updateSearchIndex.php

index b2f2577..756de27 100644 (file)
@@ -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(