summaryrefslogtreecommitdiff
path: root/maintenance/language/date-formats.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/language/date-formats.php')
-rw-r--r--maintenance/language/date-formats.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/maintenance/language/date-formats.php b/maintenance/language/date-formats.php
index 54a6a26d..04f5e8ba 100644
--- a/maintenance/language/date-formats.php
+++ b/maintenance/language/date-formats.php
@@ -20,7 +20,7 @@
* @ingroup MaintenanceLanguage
*/
-require_once( dirname(__FILE__) . '/../Maintenance.php' );
+require_once( dirname( __FILE__ ) . '/../Maintenance.php' );
class DateFormats extends Maintenance {
@@ -60,7 +60,7 @@ class DateFormats extends Maintenance {
}
$this->output( $lang->time( $this->ts, false, $pref ) );
}
- $this->output( "\n$code both: " );
+ $this->output( "\n$code both: " );
foreach ( $prefs as $index => $pref ) {
if ( $index > 0 ) {
$this->output( ' | ' );
@@ -73,4 +73,4 @@ class DateFormats extends Maintenance {
}
$maintClass = "DateFormats";
-require_once( DO_MAINTENANCE );
+require_once( RUN_MAINTENANCE_IF_MAIN );