Addshore has uploaded a new change for review.
https://gerrit.wikimedia.org/r/154641
Change subject: Use public instead of var in classes
......................................................................
Use public instead of var in classes
Change-Id: Id2c909a04e87eb0d4fcad5d0c7fb452cabe859a4
---
M NSFileRepo_body.php
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/NSFileRepo
refs/changes/41/154641/1
diff --git a/NSFileRepo_body.php b/NSFileRepo_body.php
index 6596848..37e16b0 100644
--- a/NSFileRepo_body.php
+++ b/NSFileRepo_body.php
@@ -5,10 +5,10 @@
*/
class NSLocalRepo extends LocalRepo {
- var $fileFactory = array( 'NSLocalFile', 'newFromTitle' );
- var $oldFileFactory = array( 'NSOldLocalFile', 'newFromTitle' );
- var $fileFromRowFactory = array( 'NSLocalFile', 'newFromRow' );
- var $oldFileFromRowFactory = array( 'NSOldLocalFile', 'newFromRow' );
+ public $fileFactory = array( 'NSLocalFile', 'newFromTitle' );
+ public $oldFileFactory = array( 'NSOldLocalFile', 'newFromTitle' );
+ public $fileFromRowFactory = array( 'NSLocalFile', 'newFromRow' );
+ public $oldFileFromRowFactory = array( 'NSOldLocalFile', 'newFromRow' );
static function getHashPathForLevel( $name, $levels ) {
global $wgContLang;
--
To view, visit https://gerrit.wikimedia.org/r/154641
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2c909a04e87eb0d4fcad5d0c7fb452cabe859a4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/NSFileRepo
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits