summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-13 18:48:56 +0300
committerAndrew Dolgov <[email protected]>2010-11-13 18:48:56 +0300
commit428b704dbcd4d0869e5d3455eda9b7fbda5c221e (patch)
tree63259a235f35d8ed560a8d3df4d74916457f5501 /functions.php
parenta18a4f387ad74f158c8634adb3e2dfe976364d88 (diff)
bring back update button, it makes async update request to the daemon
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 7d7e82893..553b26563 100644
--- a/functions.php
+++ b/functions.php
@@ -2872,6 +2872,9 @@
$has_img = feed_has_icon($id);
+ if (date('Y') - date('Y', strtotime($line['last_updated'])) > 2)
+ $last_updated = '';
+
$cv = array("id" => $id,
"updated" => $last_updated,
"counter" => $count,