Rename $human_time to $relative_time in cron settings

This commit is contained in:
Jakob Sack 2015-02-28 21:49:23 +01:00
parent 0efed5c216
commit 7a84c90d71
1 changed files with 3 additions and 3 deletions

View File

@ -236,17 +236,17 @@ if ($_['suggestedOverwriteCliUrl']) {
<?php if ($_['cron_log']): ?>
<p class="cronlog inlineblock">
<?php if ($_['lastcron'] !== false):
$human_time = relative_modified_date($_['lastcron']);
$relative_time = relative_modified_date($_['lastcron']);
$absolute_time = OC_Util::formatDate($_['lastcron']);
if (time() - $_['lastcron'] <= 3600): ?>
<span class="cronstatus success"></span>
<span class="crondate" original-title="<?php p($absolute_time);?>">
<?php p($l->t("Last cron was executed %s.", array($human_time)));?>
<?php p($l->t("Last cron was executed %s.", array($relative_time)));?>
</span>
<?php else: ?>
<span class="cronstatus error"></span>
<span class="crondate" original-title="<?php p($absolute_time);?>">
<?php p($l->t("Last cron was executed %s. Something seems wrong.", array($human_time)));?>
<?php p($l->t("Last cron was executed %s. Something seems wrong.", array($relative_time)));?>
</span>
<?php endif;
else: ?>