aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/patchSql.php
diff options
context:
space:
mode:
authorjeroendedauw <jeroendedauw@gmail.com>2012-08-27 21:03:15 +0200
committerjeroendedauw <jeroendedauw@gmail.com>2012-08-27 21:45:00 +0200
commit38c7f444e1c13327e203ce4e2890826782b39876 (patch)
tree06000d0da2caed2397b235b3932ed79d90320a2e /maintenance/patchSql.php
parentd3f1d418dec7e3bc3e42dc28c321c308b4d28cdb (diff)
downloadmediawikicore-38c7f444e1c13327e203ce4e2890826782b39876.tar.gz
mediawikicore-38c7f444e1c13327e203ce4e2890826782b39876.zip
Use __DIR__ instead of dirname( __FILE__ )
We can now do this since we finally switched to PHP 5.3 for MW 1.20 and get rid of the silly dirname(__FILE__) stuff :) Change-Id: Id9b2c9cd2e678197aa81c78adced5d1d31ff57b1
Diffstat (limited to 'maintenance/patchSql.php')
-rw-r--r--maintenance/patchSql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/patchSql.php b/maintenance/patchSql.php
index 0271e1a5ec3c..1f393556a66d 100644
--- a/maintenance/patchSql.php
+++ b/maintenance/patchSql.php
@@ -22,7 +22,7 @@
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
/**
* Maintenance script that manually runs an SQL patch outside of the general updaters.