aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/private/naplo/hirnok
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/policy/private/naplo/hirnok')
-rw-r--r--mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php b/mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php
index 2f0c24ab..e07a19bb 100644
--- a/mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php
+++ b/mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php
@@ -8,12 +8,10 @@
$D = $ADAT['hirnokFolyam'][$i];
$_data = $D['hirnokFolyamAdatok'];
$cn = $_data['cn'];
-
for ($j=0; $j<count($ADAT['feliratkozas'][$_data['tipus']][$_data['id']]); $j++) {
$_toUser = $ADAT['feliratkozas'][$_data['tipus']][$_data['id']][$j];
$_toEmail = $_toUser['email'];
// if ($_toEmail=='') continue;;
-dump($ADAT['hirnokFolyam']);
$body = generateFutarEmailTorzs(array('hirnokFolyam'=>array($D)));
if ($body !='') {
echo "Email cím: ".$_toEmail."\n";
@@ -32,7 +30,7 @@ dump($ADAT['hirnokFolyam']);
} else {
$q = "UPDATE hirnokFeliratkozas SET utolsoEmailDt ='%s' WHERE naploId=%u AND naploTipus='%s' AND userAccount='%s' AND policy='%s'";
$v = array($_toUser['setDt'],$_data['id'],$_data['tipus'],$_toUser['userAccount'],$_toUser['policy']);
-// db_query($q,array('modul'=>'naplo_intezmeny','fv'=>'cron','values'=>$v,'result'=>'update'));
+ db_query($q,array('modul'=>'naplo_intezmeny','fv'=>'cron','values'=>$v,'result'=>'update'));
echo "Email elküldve: ".$_toEmail." - ".$cn." - ".date('Y-m-d H:i:s')."\n";
}