turn the connection filter into a feature.

This commit is contained in:
redmatrix
2015-06-29 20:35:56 -07:00
parent 2072ea721f
commit 0b347ccc14
4 changed files with 12 additions and 0 deletions

View File

@@ -3308,12 +3308,17 @@ function post_is_importable($item,$abook) {
if(! $abook)
return true;
if(($abook['abook_channel']) && (! feature_enabled($abook['abook_channel'],'connfilter')))
return true;
if(! $item)
return false;
if((! $abook['abook_incl']) && (! $abook['abook_excl']))
return true;
require_once('include/html2plain.php');
$text = prepare_text($item['body'],$item['mimetype']);
$text = html2plain($text);