1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-09-02 20:52:44 +02:00

refactor: action (#2836)

This commit is contained in:
Dag
2022-06-22 18:30:37 +02:00
committed by GitHub
parent fad0dbb6ef
commit ee80f4918e
9 changed files with 18 additions and 51 deletions

View File

@@ -11,7 +11,10 @@
* @link https://github.com/rss-bridge/rss-bridge
*/
class DisplayAction extends ActionAbstract {
class DisplayAction implements ActionInterface
{
public $userData = [];
private function get_return_code($error) {
$returnCode = $error->getCode();
if ($returnCode === 301 || $returnCode === 302) {