summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class3
1 files changed, 0 insertions, 3 deletions
diff --git a/it.class b/it.class
index a7bdff6..25313f6 100644
--- a/it.class
+++ b/it.class
@@ -322,9 +322,6 @@ static function toascii($text)
*/
static function convertregex($pattern, $p = null)
{
- if ($p['exec'])
- it::fatal("Option exec to it::replace has been removed for security reasons");
-
return '/' . strtr($pattern, array('/' => '\/')) . '/' .
(!$p['casesensitive'] ? 'i' : '') .
($p['multiline'] ? 'm' : '') .