diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2017-01-06 00:57:12 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-06 00:57:12 +0100 |
| commit | e0eeea800cb51217e4511c3bcfcba6406d89f314 (patch) | |
| tree | f8164d23eb8290b230ddd1d1192eabf368a387bb /phpBB/phpbb | |
| parent | 0c6c94e527fca6edc0d79430088142f4828610e4 (diff) | |
| download | forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar.gz forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar.bz2 forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.tar.xz forums-e0eeea800cb51217e4511c3bcfcba6406d89f314.zip | |
[ticket/14961] Add cookie notice as enablable feature
Uses Insites cookieconsent v3.0.3:
https://cookieconsent.insites.com
PHPBB3-14961
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/db/migration/data/v320/cookie_notice.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v320/cookie_notice.php b/phpBB/phpbb/db/migration/data/v320/cookie_notice.php new file mode 100644 index 0000000000..75cb03b3ef --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v320/cookie_notice.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\v320; + +class cookie_notice extends \phpbb\db\migration\migration +{ + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v320\v320rc2', + ); + } + + public function update_data() + { + return array( + array('config.add', array('cookie_notice', false)), + ); + } +} |
