summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-04-15 09:53:50 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-04-15 09:53:50 +0000
commit4490245f5813adccec1b631ff17742be474795d3 (patch)
treed7f0a5dc1150d122e1c343ebdd80cae4f62b53f3
parent02f1c8f4488e4e47c46f4e49f148c33bbdce9821 (diff)
downloadrss-4490245f5813adccec1b631ff17742be474795d3.tar.gz
rss-4490245f5813adccec1b631ff17742be474795d3.tar.bz2
rss-4490245f5813adccec1b631ff17742be474795d3.zip
merge tp_http_request with BitSystem::fetchRemoteFile, rename function to bit_http_request and clean up code
-rw-r--r--rss_lib.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/rss_lib.php b/rss_lib.php
index 5546ad8..0f524ca 100644
--- a/rss_lib.php
+++ b/rss_lib.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_rss/rss_lib.php,v 1.12 2007/04/05 15:58:58 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_rss/rss_lib.php,v 1.13 2007/04/15 09:53:50 squareing Exp $
* @package rss
*
* Copyright (c) 2004 bitweaver.org
@@ -9,7 +9,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: rss_lib.php,v 1.12 2007/04/05 15:58:58 wjames5 Exp $
+ * $Id: rss_lib.php,v 1.13 2007/04/15 09:53:50 squareing Exp $
*/
/**
@@ -199,7 +199,7 @@ class RSSLib extends BitBase {
if ($info) {
global $gBitSystem;
- $data = $this->rss_iconv( tp_http_request($info['url']));
+ $data = $this->rss_iconv( $gBitSystem->remoteHttpRequest($info['url']));
$now = $gBitSystem->getUTCTime();
$query = "update `".BIT_DB_PREFIX."rss_modules` set `content`=?, `last_updated`=? where `rss_id`=?";
$result = $this->mDb->query($query,array((string)$data,(int) $now, (int) $rss_id));