aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/data
diff options
context:
space:
mode:
authorDerky <derky@phpbb.com>2018-10-23 23:51:55 +0200
committerDerky <derky@phpbb.com>2018-10-23 23:57:24 +0200
commitd753351edc04a45c61411ee09607fb932d314617 (patch)
tree786d721e1cfac4866705114494982a2e45bcd467 /phpBB/phpbb/db/migration/data
parentae6c3b0d34c662f107fb7cb8d9e26e5bd252a3b3 (diff)
downloadforums-d753351edc04a45c61411ee09607fb932d314617.tar
forums-d753351edc04a45c61411ee09607fb932d314617.tar.gz
forums-d753351edc04a45c61411ee09607fb932d314617.tar.bz2
forums-d753351edc04a45c61411ee09607fb932d314617.tar.xz
forums-d753351edc04a45c61411ee09607fb932d314617.zip
[ticket/security/227] Replace ImageMagick support with thumbnail event
SECURITY-227
Diffstat (limited to 'phpBB/phpbb/db/migration/data')
-rw-r--r--phpBB/phpbb/db/migration/data/v32x/remove_imagick.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/remove_imagick.php b/phpBB/phpbb/db/migration/data/v32x/remove_imagick.php
new file mode 100644
index 0000000000..a257511856
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v32x/remove_imagick.php
@@ -0,0 +1,31 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
+
+namespace phpbb\db\migration\data\v32x;
+
+class remove_imagick extends \phpbb\db\migration\migration
+{
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v32x\v323rc2',
+ );
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.remove', array('img_imagick')),
+ );
+ }
+}