Bhofmann has uploaded a new change for review.

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

Change subject: Added lost compatibility for php <= 5.5
......................................................................

Added lost compatibility for php <= 5.5

Change-Id: If0a5b0f2794fafc92ba37f35ec4019bb284a3fc3
---
M UEModulePDF/UEModulePDF.setup.php
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/22/270922/1

diff --git a/UEModulePDF/UEModulePDF.setup.php 
b/UEModulePDF/UEModulePDF.setup.php
index 57d86b7..89667a5 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 );
+}
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0a5b0f2794fafc92ba37f35ec4019bb284a3fc3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_23
Gerrit-Owner: Bhofmann <[email protected]>

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

Reply via email to