]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/filter/class_FilterChain.php
Continued:
[core.git] / framework / main / classes / filter / class_FilterChain.php
index 177a2f1e8aabbc9ff5dab519c6477cfd3d6d6f19..9a91b2559ffd1e66c796bb023a5ce8f0eca0174e 100644 (file)
@@ -126,9 +126,6 @@ class FilterChain extends BaseFrameworkSystem implements Registerable {
                // Run all filters
                //* DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('COUNT=' . $this->countGenericArray('filters'));
                foreach ($this->getFilters() as $filterInstance) {
-                       // Must be an instance of Filterable
-                       assert($filterInstance instanceof Filterable);
-
                        // Try to execute this filter
                        try {
                                //* DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('FILTER: ' . $filterInstance->__toString() . ': Processing started.');
@@ -139,7 +136,7 @@ class FilterChain extends BaseFrameworkSystem implements Registerable {
                                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('Failed to execute lase filter ' . $filterInstance->__toString() . ': ' . $e->getMessage());
                                break;
                        }
-               } // END - foreach
+               }
        }
 
 }