From 9baa7438067f02fb8389b4032d1c90d694404922 Mon Sep 17 00:00:00 2001 From: Anvit Srivastav Date: Thu, 29 Jun 2023 15:38:33 -0700 Subject: [PATCH] Change search populate base task (#1615) Update search:populate base to arBaseTask instead of sfBaseTask. --- lib/task/search/arPopulateTask.class.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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'])) {