From 18be18e9989dcd48b662c5bb2bd128ca947f68d3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 25 Apr 2014 20:26:47 +0200 Subject: [PATCH] [ticket/12273] Do not allow 3.1-A1 for template events PHPBB3-12273 --- phpBB/phpbb/event/md_exporter.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/phpBB/phpbb/event/md_exporter.php b/phpBB/phpbb/event/md_exporter.php index 708900c693..4940094e77 100644 --- a/phpBB/phpbb/event/md_exporter.php +++ b/phpBB/phpbb/event/md_exporter.php @@ -209,8 +209,6 @@ class md_exporter */ public function validate_since($since) { - $since = ($since === '3.1-A1') ? '3.1.0-a1' : $since; - if (!preg_match('#^\d+\.\d+\.\d+(?:-(?:a|b|rc|pl)\d+)?$#', $since)) { throw new \LogicException("Invalid since information found for event '{$this->current_event}'");