diff --git a/inc/databap.php b/inc/databap.php index 83b251b..cf24995 100644 --- a/inc/databap.php +++ b/inc/databap.php @@ -455,9 +455,9 @@ class Databap extends PhpObject //Update and spread the news $asResult = array(); - if(date('N')>5 || date('G')>19) $asResult[] = "Pas de mise-à-jour pendant le week end ou en soirée."; + /*if(date('N')>5 || date('G')>19) $asResult[] = "Pas de mise-à-jour pendant le week end ou en soirée."; else - { + {*/ foreach($asArticles as $asArticle) { $iArticleId = $this->oMySql->selectValue(self::ART_TABLE, MySqlManager::getId(self::ART_TABLE), array('title'=>$asArticle['title'])); @@ -472,7 +472,7 @@ class Databap extends PhpObject else $sResult = 'OK'; $asResult[$iArticleId] = $sResult.' | '.implode(' | ', $asArticle); } - } + //} return MySqlManager::implodeAll($asResult, '->', "\n"); }