]> source.dussan.org Git - nextcloud-server.git/commitdiff
Rename $human_time to $relative_time in cron settings
authorJakob Sack <mail@jakobsack.de>
Sat, 28 Feb 2015 20:49:23 +0000 (21:49 +0100)
committerJakob Sack <mail@jakobsack.de>
Sat, 28 Feb 2015 20:49:23 +0000 (21:49 +0100)
settings/templates/admin.php

index 7ed1afbd26e57671208213797ebe4c17f7b43e95..ea91fca499ee775fc5edd488f6165c5916976ebe 100644 (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: ?>