jenkins-bot has submitted this change and it was merged.
Change subject: Added lost compatibility for php <= 5.5
......................................................................
Added lost compatibility for php <= 5.5
PatchSet 2: Coding conventions
Change-Id: If0a5b0f2794fafc92ba37f35ec4019bb284a3fc3
---
M UEModulePDF/UEModulePDF.setup.php
1 file changed, 6 insertions(+), 1 deletion(-)
Approvals:
Mglaser: Looks good to me, approved
jenkins-bot: Verified
diff --git a/UEModulePDF/UEModulePDF.setup.php
b/UEModulePDF/UEModulePDF.setup.php
index 57d86b7..a4ed3fa 100644
--- a/UEModulePDF/UEModulePDF.setup.php
+++ b/UEModulePDF/UEModulePDF.setup.php
@@ -23,4 +23,9 @@
$wgAutoloadClasses['BsPDFServlet'] = __DIR__ .
'/includes/PDFServlet.class.php'; //TODO: This is deprecated. Remove.
$wgAutoloadClasses['BsExportModulePDF'] = __DIR__ .
'/includes/ExportModulePDF.class.php';
-$wgHooks['LoadExtensionSchemaUpdates'][] = 'UEModulePDF::getSchemaUpdates';
\ No newline at end of file
+$wgHooks['LoadExtensionSchemaUpdates'][] = 'UEModulePDF::getSchemaUpdates';
+
+// Remove if minimal system requirements of MW changes to PHP <= 5.5
+if( !defined( CURLOPT_SAFE_UPLOAD ) ) {
+ define( 'CURLOPT_SAFE_UPLOAD', -1 );
+}
--
To view, visit https://gerrit.wikimedia.org/r/270922
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If0a5b0f2794fafc92ba37f35ec4019bb284a3fc3
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_23
Gerrit-Owner: Bhofmann <[email protected]>
Gerrit-Reviewer: Dvogel hallowelt <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits