log autoarchiving without time

This commit is contained in:
following
2013-06-12 17:34:16 +02:00
parent 9874a8cd23
commit 0626d867ad

View File

@@ -99,7 +99,9 @@ class autoarchive
// create log
$log->setType(cachelog::LOGTYPE_ARCHIVED, true);
$log->setOcTeamComment(true);
$log->setDate(date('Y-m-d H:i'));
$log->setDate(date('Y-m-d'));
// Log without time, so that owner reactions will always appear AFTER
// the system log, no matter if logged with or without date.
// create log text in appropriate language
$translated_comment = $translate->t($comment, '','',0,'',1, $cache->getDefaultDescLanguage());