SamanthaNguyen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/400447 )

Change subject: Use newer DatabaseUpdater function
......................................................................

Use newer DatabaseUpdater function

Change-Id: I360f02d4c3a4abcc04b64f91310bf0b2d8a18074
---
M includes/Video.hooks.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Video 
refs/changes/47/400447/1

diff --git a/includes/Video.hooks.php b/includes/Video.hooks.php
index 5120ae8..8a19fc3 100644
--- a/includes/Video.hooks.php
+++ b/includes/Video.hooks.php
@@ -295,8 +295,8 @@
        public static function addTables( $updater ) {
                $dir = __DIR__;
                $file = "$dir/../sql/video.sql";
-               $updater->addExtensionUpdate( array( 'addTable', 'video', 
$file, true ) );
-               $updater->addExtensionUpdate( array( 'addTable', 'oldvideo', 
$file, true ) );
+               $updater->addExtensionTable( 'video', $file );
+               $updater->addExtensionTable( 'oldvideo', $file );
                return true;
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/400447
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I360f02d4c3a4abcc04b64f91310bf0b2d8a18074
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Video
Gerrit-Branch: master
Gerrit-Owner: SamanthaNguyen <samanthanguyen1...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to