Commit f2b984fc authored by Dries's avatar Dries

- Removed some debug info.
parent ee305ae1
......@@ -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']);
}
......
......@@ -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']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment