diff options
author | M.Gergo | 2018-09-16 00:53:39 +0200 |
---|---|---|
committer | M.Gergo | 2018-09-16 00:53:39 +0200 |
commit | b9717b26a41a69a9bb427c1738d64a764b25800e (patch) | |
tree | c5dfb8ac8bde10f71565057865b237475b74195e /mayor-orig/www/policy | |
parent | 8147fbfa861782dd77b2a9f8734afb8e0d66d62b (diff) | |
download | mayor-b9717b26a41a69a9bb427c1738d64a764b25800e.tar.gz mayor-b9717b26a41a69a9bb427c1738d64a764b25800e.zip |
Rev: 4371
Diffstat (limited to 'mayor-orig/www/policy')
-rw-r--r-- | mayor-orig/www/policy/private/naplo/hirnok/cronFutar.php | 4 |
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"; } |