diff --git a/lib/task/search/arPopulateTask.class.php b/lib/task/search/arPopulateTask.class.php index 0cd14f5cc3..f1770039c6 100644 --- a/lib/task/search/arPopulateTask.class.php +++ b/lib/task/search/arPopulateTask.class.php @@ -20,12 +20,11 @@ /** * Populate search index. */ -class arSearchPopulateTask extends sfBaseTask +class arSearchPopulateTask extends arBaseTask { public function execute($arguments = [], $options = []) { - sfContext::createInstance($this->configuration); - sfConfig::add(QubitSetting::getSettingsArray()); + parent::execute($arguments, $options); // If show-types flag set, show types available to index if (!empty($options['show-types'])) {