namespace wcf\acp\action;
+use Laminas\Diactoros\Response\RedirectResponse;
use wcf\action\AbstractAction;
use wcf\data\search\SearchEditor;
use wcf\data\user\User;
use wcf\system\menu\acp\ACPMenu;
use wcf\system\request\LinkHandler;
use wcf\system\WCF;
-use wcf\util\HeaderUtil;
/**
* Provides special search options.
['id' => $search->searchID],
'sortField=' . \rawurlencode($this->sortField) . '&sortOrder=' . \rawurlencode($this->sortOrder)
);
- HeaderUtil::redirect($url);
- exit;
+ return new RedirectResponse(
+ $url
+ );
}
}