summaryrefslogtreecommitdiff
path: root/scripts/cron/warning.php
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-05-08 00:02:29 +0200
committerBenny Baumann <BenBE@geshi.org>2013-05-08 00:02:29 +0200
commit06b04cd9e702279c371fd1d3f95fa22e08ffa49e (patch)
tree280edc9a38c337eaf7734f70b8f593678e0b299e /scripts/cron/warning.php
parentf8fa314f91df00c6f0e5089b02364d2eaf1b8440 (diff)
downloadcacert-devel-06b04cd9e702279c371fd1d3f95fa22e08ffa49e.tar.gz
cacert-devel-06b04cd9e702279c371fd1d3f95fa22e08ffa49e.tar.xz
cacert-devel-06b04cd9e702279c371fd1d3f95fa22e08ffa49e.zip
bug 28: add changes for l10n class
Diffstat (limited to 'scripts/cron/warning.php')
-rwxr-xr-xscripts/cron/warning.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cron/warning.php b/scripts/cron/warning.php
index ad3383b..bbf79ac 100755
--- a/scripts/cron/warning.php
+++ b/scripts/cron/warning.php
@@ -35,7 +35,7 @@
$res = mysql_query($query);
while($row = mysql_fetch_assoc($res))
{
- L10n::set_translation(get_recipient_language(intval(.$row['id')));
+ L10n::set__recipient_language(intval($row['id']));
if($row['subject'] == "")
{
$row['crt_name'] = str_replace("../", "www/", $row['crt_name']);
@@ -103,7 +103,7 @@ echo $row['fname']." ".$row['lname']." <".$row['email']."> (memid: ".$row['memid
$res = mysql_query($query);
while($row = mysql_fetch_assoc($res))
{
- L10n::set_translation(get_recipient_language(intval(.$row['memid')));
+ L10n::set__recipient_language(intval($row['memid']));
if($row['subject'] == "")
$row['subject'] = $row['CN'];