summaryrefslogtreecommitdiff
path: root/modules/aggregator/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-11 15:10:27 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-11 15:10:27 +0000
commitf2b984fcd43968b17cd5ab44ef5842ff621181c9 (patch)
tree9c9f39366942c5076d9d8b867eaac00905430d9f /modules/aggregator/aggregator.module
parentee305ae144d074692f2737eed8e38ec32f20e98e (diff)
downloadbrdo-f2b984fcd43968b17cd5ab44ef5842ff621181c9.tar.gz
brdo-f2b984fcd43968b17cd5ab44ef5842ff621181c9.tar.bz2
- Removed some debug info.
Diffstat (limited to 'modules/aggregator/aggregator.module')
-rw-r--r--modules/aggregator/aggregator.module5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index d1db0ce78..005027f20 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -272,8 +272,6 @@ function aggregator_element_data($parser, $data) {
function aggregator_refresh($feed) {
global $channel, $image;
- $headers = array();
-/* ENABLE ME AGAIN:
// Generate conditional GET headers.
$headers = array();
if ($feed['etag']) {
@@ -282,7 +280,6 @@ function aggregator_refresh($feed) {
if ($feed['modified']) {
$headers['If-Modified-Since'] = gmdate("D, d M Y H:i:s", $feed['modified']) ." GMT";
}
-*/
// Request feed.
$result = drupal_http_request($feed['url'], $headers);
@@ -305,8 +302,6 @@ function aggregator_refresh($feed) {
aggregator_parse_feed($result->data, $feed);
-// print "<pre>"; print_r($image); print "</pre>";
-
if ($result->headers['Last-Modified']) {
$modified = strtotime($result->headers['Last-Modified']);
}