Iets compactere immediate logging

svn path=/Website/trunk/; revision=24266
This commit is contained in:
Jos Groot Lipman
2015-02-24 11:45:00 +00:00
parent 4a65eade54
commit b048eddb8d

View File

@@ -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");
}
}