diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ActionAbstract.php | 33 | ||||
-rw-r--r-- | lib/ActionInterface.php | 8 |
2 files changed, 0 insertions, 41 deletions
diff --git a/lib/ActionAbstract.php b/lib/ActionAbstract.php deleted file mode 100644 index b925d609..00000000 --- a/lib/ActionAbstract.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/** - * This file is part of RSS-Bridge, a PHP project capable of generating RSS and - * Atom feeds for websites that don't have one. - * - * For the full license information, please view the UNLICENSE file distributed - * with this source code. - * - * @package Core - * @license http://unlicense.org/ UNLICENSE - * @link https://github.com/rss-bridge/rss-bridge - */ - -/** - * An abstract class for action objects - */ -abstract class ActionAbstract implements ActionInterface { - /** - * Holds the user data. - * - * @var array - */ - protected $userData = null; - - /** - * {@inheritdoc} - * - * @param array $userData {@inheritdoc} - */ - public function setUserData($userData) { - $this->userData = $userData; - } -} diff --git a/lib/ActionInterface.php b/lib/ActionInterface.php index c38d057a..63088573 100644 --- a/lib/ActionInterface.php +++ b/lib/ActionInterface.php @@ -16,14 +16,6 @@ */ interface ActionInterface { /** - * Set user data for the action to consume. - * - * @param array $userData An associative array of user data. - * @return void - */ - function setUserData($userData); - - /** * Execute the action. * * Note: This function directly outputs data to the user. |