Manybubbles has uploaded a new change for review. https://gerrit.wikimedia.org/r/223177
Change subject: Add () for function call ...................................................................... Add () for function call Change-Id: I3e8fd2227c6c9af9f5bb1f475bb2d9a313562893 --- M includes/Hooks.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch refs/changes/77/223177/1 diff --git a/includes/Hooks.php b/includes/Hooks.php index d22573d..59895fe 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -165,12 +165,12 @@ $wgCirrusSearchMoreLikeThisFields; $source = wfMessage( 'cirrussearch-morelikethis-settings' )->inContentLanguage(); - if( $source && $source->isDisabled ) { + if ( $source && $source->isDisabled() ) { return; } $lines = Util::parseSettingsInMessage( $source->plain() ); - foreach( $lines as $line ) { + foreach ( $lines as $line ) { list( $k, $v ) = explode( ':', $line, 2 ); switch( $k ) { case 'min_doc_freq': -- To view, visit https://gerrit.wikimedia.org/r/223177 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3e8fd2227c6c9af9f5bb1f475bb2d9a313562893 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CirrusSearch Gerrit-Branch: master Gerrit-Owner: Manybubbles <never...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits