summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-10-24 08:00:05 +0100
committerAndrew Dolgov <[email protected]>2007-10-24 08:00:05 +0100
commitac6ebdb38a1704d140f449e7b3a041059153bcae (patch)
treed1f76c2421187f90382a4d6fc87f340b84a477b2 /functions.php
parent02ceed6e078a541332030adbb50d5fb9cfd093b1 (diff)
simplepie: try to unset() rss object after update
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 15f6843b9..23e028a34 100644
--- a/functions.php
+++ b/functions.php
@@ -1170,6 +1170,10 @@
last_updated = NOW() WHERE id = '$feed'");
}
+ if (ENABLE_SIMPLEPIE) {
+ unset($rss);
+ }
+
if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
_debug("update_rss_feed: done");
}