jenkins-bot has submitted this change and it was merged.
Change subject: Use __DIR__
......................................................................
Use __DIR__
Change-Id: I5f52aadf9fda197e2b4801a3a615b67656d5a8bf
---
M DownloadCounter.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Siebrand: Looks good to me, approved
jenkins-bot: Verified
diff --git a/DownloadCounter.php b/DownloadCounter.php
index 6e1bdce..fa4c07c 100644
--- a/DownloadCounter.php
+++ b/DownloadCounter.php
@@ -24,6 +24,7 @@
}
$wgExtensionCredits['parserhook'][] = array(
+ 'path' => __FILE__,
'name' => 'DownloadCounter',
'version' => '0.3.0',
'author' => 'Eric Petit',
@@ -83,7 +84,6 @@
* @return bool
*/
function efDownloadCounterchemaUpdates( $updater ) {
- $base = dirname( __FILE__ );
- $updater->addExtensionTable( 'downloads_files',
"$base/DownloadCounter.sql" );
+ $updater->addExtensionTable( 'downloads_files', __DIR__ .
'/DownloadCounter.sql' );
return true;
}
--
To view, visit https://gerrit.wikimedia.org/r/246181
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5f52aadf9fda197e2b4801a3a615b67656d5a8bf
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/DownloadCounter
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits