diff --git a/CHANGELOG.md b/CHANGELOG.md index 0722450..d23eefd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.2 - 2015-01-04 +- Fixed some very minor coding issues +- Switched to Titania hosted version checking + ## 1.0.1 - 2014-11-28 - Add new option to toggle the ability for users to close announcements diff --git a/composer.json b/composer.json index 7b1b650..3eddbe1 100644 --- a/composer.json +++ b/composer.json @@ -2,8 +2,8 @@ "name": "phpbb/boardannouncements", "type": "phpbb-extension", "description": "An extension which allows you to create board-wide announcements for your phpBB forum", - "homepage": "https://phpbb.com", - "version": "1.0.1", + "homepage": "https://www.phpbb.com", + "version": "1.0.2", "keywords": ["phpbb", "extension", "announcements"], "license": "GPL-2.0", "authors": [ @@ -47,9 +47,9 @@ "phpbb/phpbb": ">=3.1.0-RC2,<3.2.*@dev" }, "version-check": { - "host": "version.phpbb.com", - "directory": "/phpbb-extensions", - "filename": "boardannouncements_versions.json" + "host": "www.phpbb.com", + "directory": "/customise/db/extension/boardannouncements", + "filename": "version_check" } } } diff --git a/event/listener.php b/event/listener.php index 01b9ce2..b6b94db 100644 --- a/event/listener.php +++ b/event/listener.php @@ -44,7 +44,7 @@ class listener implements EventSubscriberInterface * @param \phpbb\request\request $request Request object * @param \phpbb\template\template $template Template object * @param \phpbb\user $user User object - * @return \phpbb\boardrules\event\listener + * @return \phpbb\boardannouncements\event\listener * @access public */ public function __construct(\phpbb\config\config $config, \phpbb\config\db_text $config_text, \phpbb\controller\helper $controller_helper, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user) @@ -77,7 +77,7 @@ static public function getSubscribedEvents() * @return null * @access public */ - public function display_board_announcements($event) + public function display_board_announcements() { // Do not continue if announcement has been disabled if (!$this->config['board_announcements_enable'])