From c3bad2d742756b85f6b4923f7ca0d9db899b054a Mon Sep 17 00:00:00 2001 From: franzz Date: Fri, 18 Dec 2015 11:35:48 +0100 Subject: [PATCH] remove force refresh --- inc/spot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/spot.php b/inc/spot.php index d4cbf66..b374db8 100755 --- a/inc/spot.php +++ b/inc/spot.php @@ -143,7 +143,7 @@ class Spot extends Main //Check last message & update feed if necessary (max once a day) $sLastMsg = $this->oMySql->selectValue(self::FEED_TABLE, 'led', array('ref_feed_id'=>$sRefFeedId)); - if(mb_substr($sLastMsg, 0, 10) != date('Y-m-d') || true) + if(mb_substr($sLastMsg, 0, 10) != date('Y-m-d')) { $this->updateFeed($sRefFeedId); }