jenkins-bot has submitted this change and it was merged.

Change subject: Fix path to sql
......................................................................


Fix path to sql

RuntimeException from line 3053 of 
/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/includes/libs/rdbms/database/Database.php:
 Could not open 
"/srv/jenkins-workspace/workspace/mwext-testextension-hhvm-composer-non-voting/src/extensions/BlueSpiceExtensions/ShoutBoxDSdb/mysql/ShoutBox.sql".

RuntimeException from line 3053 of 
/srv/jenkins-workspace/workspace/mwext-testextension-php55-composer-non-voting/src/includes/libs/rdbms/database/Database.php:
 Could not open 
"/srv/jenkins-workspace/workspace/mwext-testextension-php55-composer-non-voting/src/extensions/BlueSpiceExtensions/SaferEditDSdbDSmysqlDSSaferEdit.sql".

RuntimeException from line 3053 of 
/srv/jenkins-workspace/workspace/mwext-testextension-php55-composer-non-voting/src/includes/libs/rdbms/database/Database.php:
 Could not open 
"/srv/jenkins-workspace/workspace/mwext-testextension-php55-composer-non-voting/src/extensions/BlueSpiceExtensions/NamespaceManagerDSdbDSbs_namespacemanager_backup_page.sql".

RuntimeException from line 3053 of 
/srv/jenkins-workspace/workspace/mwext-testextension-php55-composer-non-voting/src/includes/libs/rdbms/database/Database.php:
 Could not open 
"/srv/jenkins-workspace/workspace/mwext-testextension-php55-composer-non-voting/src/extensions/BlueSpiceExtensions/PermissionManagerDSdbDSPermissionManager.sql".

Change-Id: I6ca92662c42e38bfd838b49c9bde1a26c8c5223b
---
M NamespaceManager/NamespaceManager.class.php
M PermissionManager/PermissionManager.class.php
M SaferEdit/SaferEdit.class.php
M ShoutBox/ShoutBox.class.php
4 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Robert Vogel: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/NamespaceManager/NamespaceManager.class.php 
b/NamespaceManager/NamespaceManager.class.php
index 54ef2f2..e618ccb 100644
--- a/NamespaceManager/NamespaceManager.class.php
+++ b/NamespaceManager/NamespaceManager.class.php
@@ -103,7 +103,7 @@
        */
        public static function onLoadExtensionSchemaUpdates( $updater ) {
                global $wgExtPGNewFields, $wgDBtype;
-               $dir = __DIR__.DS.'db'.DS;
+               $dir = __DIR__ . '/' . 'db' . '/';
 
                if ( $wgDBtype == 'oracle' ) {
                        $updater->addExtensionTable(
diff --git a/PermissionManager/PermissionManager.class.php 
b/PermissionManager/PermissionManager.class.php
index a774721..7ca6623 100644
--- a/PermissionManager/PermissionManager.class.php
+++ b/PermissionManager/PermissionManager.class.php
@@ -236,7 +236,7 @@
        public static function getSchemaUpdates( $updater ) {
                $updater->addExtensionTable(
                                'bs_permission_templates',
-                               __DIR__ . DS . 'db' . DS . 
'PermissionManager.sql'
+                               __DIR__ . '/' . 'db' . '/' . 
'PermissionManager.sql'
                );
 
                return true;
diff --git a/SaferEdit/SaferEdit.class.php b/SaferEdit/SaferEdit.class.php
index b47ab6d..31908db 100644
--- a/SaferEdit/SaferEdit.class.php
+++ b/SaferEdit/SaferEdit.class.php
@@ -83,7 +83,7 @@
         */
        public static function getSchemaUpdates( $updater ) {
                global $wgDBtype, $wgExtNewTables, $wgExtNewIndexes;
-               $sDir = __DIR__.DS.'db'.DS.$wgDBtype.DS;
+               $sDir = __DIR__ . '/' . 'db' . '/' . $wgDBtype . '/';
 
                if( $wgDBtype == 'mysql') {
                        $wgExtNewTables[]  = array( 'bs_saferedit', $sDir . 
'SaferEdit.sql' );
diff --git a/ShoutBox/ShoutBox.class.php b/ShoutBox/ShoutBox.class.php
index 73f2951..e2c6ceb 100644
--- a/ShoutBox/ShoutBox.class.php
+++ b/ShoutBox/ShoutBox.class.php
@@ -93,7 +93,7 @@
         */
        public static function getSchemaUpdates( $updater ) {
                global $wgDBtype, $wgExtNewTables, $wgExtNewIndexes, 
$wgExtNewFields;
-               $sDir = __DIR__ . DS;
+               $sDir = __DIR__ . '/';
 
                if ( $wgDBtype == 'mysql') {
                        $wgExtNewTables[] = array( 'bs_shoutbox', $sDir . 
'db/mysql/ShoutBox.sql' );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6ca92662c42e38bfd838b49c9bde1a26c8c5223b
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Dvogel hallowelt <daniel.vo...@hallowelt.com>
Gerrit-Reviewer: Ljonka <l.verhovs...@gmail.com>
Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz>
Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to