aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-06-24 21:42:39 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-06-24 21:42:39 +0200
commitb59073cf3ed54d040aef0f02cb3e5c28fb768b5b (patch)
tree0c6bfaf0696ed1498b3e68d43721a530a90312db /phpBB/phpbb/db
parent909976f0761622fd0b6ecd00bef4919513c738df (diff)
parentaa37e9b7fc60bd443c6abbcdc3adbf28ae010f32 (diff)
downloadforums-b59073cf3ed54d040aef0f02cb3e5c28fb768b5b.tar
forums-b59073cf3ed54d040aef0f02cb3e5c28fb768b5b.tar.gz
forums-b59073cf3ed54d040aef0f02cb3e5c28fb768b5b.tar.bz2
forums-b59073cf3ed54d040aef0f02cb3e5c28fb768b5b.tar.xz
forums-b59073cf3ed54d040aef0f02cb3e5c28fb768b5b.zip
Merge pull request #4794 from lr94/ticket/15176
[ticket/15176] Add setting for user activity display limit.
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/migration/data/v32x/load_user_activity_limit.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/load_user_activity_limit.php b/phpBB/phpbb/db/migration/data/v32x/load_user_activity_limit.php
new file mode 100644
index 0000000000..71bb6c00bf
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v32x/load_user_activity_limit.php
@@ -0,0 +1,36 @@
+<?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 load_user_activity_limit extends \phpbb\db\migration\migration
+{
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v320\v320',
+ );
+ }
+
+ public function effectively_installed()
+ {
+ return isset($this->config['load_user_activity_limit']);
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.add', array('load_user_activity_limit', '5000')),
+ );
+ }
+}