Rename $human_time to $relative_time in cron settings
This commit is contained in:
parent
0efed5c216
commit
7a84c90d71
|
@ -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: ?>
|
||||
|
|
Loading…
Reference in New Issue