]> git.mxchange.org Git - hub.git/blobdiff - inc/classes/main/filter/checkboxes/class_RulesAcceptedFilter.php
Code syncronized with shipsimu code base
[hub.git] / inc / classes / main / filter / checkboxes / class_RulesAcceptedFilter.php
index 3029dcee64c559460175239cd023ace84dd708a0..85e945e8bc66da5ee0a643a49f8a31904069a8ef 100644 (file)
@@ -6,7 +6,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -23,7 +23,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class RulesAcceptedFilter extends BaseFrameworkSystem implements Filterable {
+class RulesAcceptedFilter extends BaseFilter implements Filterable {
        /**
         * Protected constructor
         *
@@ -32,16 +32,6 @@ class RulesAcceptedFilter extends BaseFrameworkSystem implements Filterable {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set part description
-               $this->setObjectDescription("A filter for checking if rules where accepted");
-
-               // Create unique ID number
-               $this->generateUniqueId();
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
        }
 
        /**
@@ -76,7 +66,7 @@ class RulesAcceptedFilter extends BaseFrameworkSystem implements Filterable {
                        // Add a message to the response
                        $responseInstance->addFatalMessage('rules_unchecked');
 
-                       // Abort here
+                       // Skip further processing
                        return false;
                }
        }