jenkins-bot has submitted this change and it was merged. Change subject: fix LoadExtensionSchemaUpdates hook callable ......................................................................
fix LoadExtensionSchemaUpdates hook callable Since PHP 5.2.3, a callable can be 'class::method'. So use it instead of an array. That should fix the database updater (bug 46533). bug: 46533 Change-Id: I9d6af3af18fd380725bf1bef15d54d6073de251b --- M CentralNotice.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Hashar: Looks good to me, approved jenkins-bot: Verified diff --git a/CentralNotice.php b/CentralNotice.php index 397b4a3..f08c85a 100644 --- a/CentralNotice.php +++ b/CentralNotice.php @@ -547,4 +547,4 @@ } // Short hook definitions -$wgHooks[ 'LoadExtensionSchemaUpdates' ][ ] = array( 'CNDatabasePatcher', 'applyUpdates' ); +$wgHooks[ 'LoadExtensionSchemaUpdates' ][ ] = 'CNDatabasePatcher::applyUpdates'; -- To view, visit https://gerrit.wikimedia.org/r/55567 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9d6af3af18fd380725bf1bef15d54d6073de251b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CentralNotice Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> Gerrit-Reviewer: Hashar <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
