remove simplepie

This commit is contained in:
Andrew Dolgov 2013-05-01 19:14:48 +04:00
parent b09a4cdccc
commit fd0daa9b55
3 changed files with 0 additions and 17790 deletions

View File

@ -1,7 +0,0 @@
<?php
class SanitizeDummy extends SimplePie_Sanitize {
function sanitize($data, $type, $base = '') {
return $data;
}
}
?>

View File

@ -193,8 +193,6 @@
function update_rss_feed($feed, $ignore_daemon = false, $no_cache = false,
$override_url = false) {
require_once "lib/simplepie/simplepie.inc";
$debug_enabled = defined('DAEMON_EXTENDED_DEBUG') || $_REQUEST['xdebug'];
_debug("start", $debug_enabled);
@ -360,15 +358,6 @@
}
if (!$rss) {
/* $rss = new SimplePie();
$rss->set_sanitize_class("SanitizeDummy");
// simplepie ignores the above and creates default sanitizer anyway,
// so let's override it...
$rss->sanitize = new SanitizeDummy();
$rss->set_output_encoding('UTF-8');
$rss->set_raw_data($feed_data);
$rss->enable_cache(false); */
$rss = new FeedParser($feed_data);
$rss->init();
}

File diff suppressed because it is too large Load Diff