Iets compactere immediate logging
svn path=/Website/trunk/; revision=24266
This commit is contained in:
@@ -115,9 +115,16 @@ function sendNotification(ref_key, pcode)
|
||||
oRs.MoveNext();
|
||||
}
|
||||
oRs.Close();
|
||||
if (notiMAILed > 0) Log2File(1, " " + notiMAILed + " email messages sent");
|
||||
if (notiSMSed > 0) Log2File(1, " " + notiSMSed + " SMS messages sent");
|
||||
if (notiSYSed > 0) Log2File(1, " " + notiSYSed + " systemadres messages sent");
|
||||
if (ref_key > 0 && pcode)
|
||||
{
|
||||
// Zal altijd '1' zijn als we hier komen
|
||||
}
|
||||
else
|
||||
{
|
||||
if (notiMAILed > 0) Log2File(1, " " + notiMAILed + " email messages sent");
|
||||
if (notiSMSed > 0) Log2File(1, " " + notiSMSed + " SMS messages sent");
|
||||
if (notiSYSed > 0) Log2File(1, " " + notiSYSed + " systemadres messages sent");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user