Bhofmann has uploaded a new change for review.
https://gerrit.wikimedia.org/r/270979
Change subject: Added lost compatibility for php <= 5.5
......................................................................
Added lost compatibility for php <= 5.5
PatchSet 2: Coding conventions
Change-Id: If0a5b0f2794fafc92ba37f35ec4019bb284a3fc3
(cherry picked from commit 95233acfdd7bc4ac81b7f9afd0c3c34a967313c9)
---
M UEModulePDF/UEModulePDF.setup.php
1 file changed, 6 insertions(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions
refs/changes/79/270979/1
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/270979
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: master
Gerrit-Owner: Bhofmann <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits