diff --git a/src/Symfony/Component/Form/EventListener/StripTagsListener.php b/src/Symfony/Component/Form/EventListener/StripTagsListener.php deleted file mode 100644 index 2b92b6ae15..0000000000 --- a/src/Symfony/Component/Form/EventListener/StripTagsListener.php +++ /dev/null @@ -1,34 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Form\EventListener; - -use Symfony\Component\Form\Events; -use Symfony\Component\Form\Event\FilterDataEvent; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; - -/** - * Strip tags from incoming input. - * - * @author Benjamin Eberlei - */ -class StripTagsListener implements EventSubscriberInterface -{ - public function onBindClientData(FilterDataEvent $event) - { - $event->setData(strip_tags($event->getData())); - } - - public static function getSubscribedEvents() - { - return Events::onBindClientData; - } -} \ No newline at end of file