use Friendica\Object\Image;
use Friendica\Protocol\DFRN;
use Friendica\Protocol\OStatus;
+use Friendica\Protocol\Feed;
require_once 'include/bbcode.php';
require_once 'include/oembed.php';
require_once 'include/text.php';
require_once 'include/threads.php';
require_once 'include/plaintext.php';
-require_once 'include/feed.php';
require_once 'mod/share.php';
require_once 'include/enotify.php';
* The purpose of this function is to apply system message length limits to
* imported messages without including any embedded photos in the length
*/
-if (! function_exists('limit_body_size')) {
function limit_body_size($body) {
// logger('limit_body_size: start', LOGGER_DEBUG);
} else {
return $body;
}
-}}
+}
function title_is_body($title, $body) {
if ($contact['network'] === NETWORK_FEED) {
if ($pass < 2) {
logger("Consume feeds", LOGGER_DEBUG);
- feed_import($xml, $importer, $contact, $hub);
+ Feed::import($xml, $importer, $contact, $hub);
}
return;
}