From e9977a848f306701f97c3f63d5958b01fec8e7b6 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Mon, 21 Dec 2020 20:19:17 +0100 Subject: [PATCH] Bump version, fix php requirements and release 1.2.0 --- composer.json | 4 ++-- event/admin_listener.php | 4 ++-- event/listener.php | 2 +- migrations/release_1_2_0.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 3800870..3b2cd53 100644 --- a/composer.json +++ b/composer.json @@ -3,8 +3,8 @@ "type": "phpbb-extension", "description": "An extension which allows users to set their own posts per page settings.", "homepage": "https://github.com/Elsensee/phpbb-ext-posts-per-page", - "version": "1.1.1", - "time": "2018-09-27", + "version": "1.2.0", + "time": "2020-12-21", "license": "GPL-2.0-only", "authors": [ { diff --git a/event/admin_listener.php b/event/admin_listener.php index 44dd542..d439053 100644 --- a/event/admin_listener.php +++ b/event/admin_listener.php @@ -2,7 +2,7 @@ /** * * @package Individual posts per page - * @copyright (c) 2015-2018 Oliver Schramm + * @copyright (c) 2015-2020 Oliver Schramm * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * */ @@ -106,7 +106,7 @@ public function add_configuration($event) } // Insert our own_vars array right after posts_per_page to let them appear right there. - $vars['vars'] = phpbb_insert_config_array($vars['vars'], $own_vars, ['after' => $this->acp_position]); + $vars['vars'] = phpbb_insert_config_array($vars['vars'], $own_vars, array('after' => $this->acp_position)); $event['display_vars'] = $vars; } diff --git a/event/listener.php b/event/listener.php index 96c08c1..3e274fb 100644 --- a/event/listener.php +++ b/event/listener.php @@ -2,7 +2,7 @@ /** * * @package Individual posts per page -* @copyright (c) 2015-2018 Oliver Schramm +* @copyright (c) 2015-2020 Oliver Schramm * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * */ diff --git a/migrations/release_1_2_0.php b/migrations/release_1_2_0.php index 0cc7581..599f40b 100644 --- a/migrations/release_1_2_0.php +++ b/migrations/release_1_2_0.php @@ -2,7 +2,7 @@ /** * * @package Individual posts per page -* @copyright (c) 2015 Oliver Schramm +* @copyright (c) 2020 Oliver Schramm * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * */