No need to have regexp mime for the rest of the mime type text, as the default mime_target is _browser

This commit is contained in:
Hadi Nategh 2015-03-30 10:37:09 +00:00
parent 41af200dc6
commit c22094d808

View File

@ -148,9 +148,6 @@ class egw_link extends solink
'mime_popup' => '640x480', 'mime_popup' => '640x480',
'mime_target' => '_blank', '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) '/^text\\/(plain|html|diff)/' => array( // text/(mimetypes which can be opened as recognised popups)
'mime_popup' => '640x480', 'mime_popup' => '640x480',
'mime_target' => '_blank', 'mime_target' => '_blank',