Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/55567


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/67/55567/1

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: newchange
Gerrit-Change-Id: I9d6af3af18fd380725bf1bef15d54d6073de251b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to