From c22094d80865dddccb10b9826bdbf0538c06d7e2 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 30 Mar 2015 10:37:09 +0000 Subject: [PATCH] No need to have regexp mime for the rest of the mime type text, as the default mime_target is _browser --- phpgwapi/inc/class.egw_link.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 7884476414..6152b139d4 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -148,9 +148,6 @@ class egw_link extends solink 'mime_popup' => '640x480', 'mime_target' => '_blank', ), - 'text\\//' => array( // text/* as preg, no modifier! - 'mime_target' => '_browser', - ), '/^text\\/(plain|html|diff)/' => array( // text/(mimetypes which can be opened as recognised popups) 'mime_popup' => '640x480', 'mime_target' => '_blank',