Skip to content

Commit

Permalink
Merge pull request #67 from VSEphpbb/release
Browse files Browse the repository at this point in the history
Release Prep 1.0.2
  • Loading branch information
iMattPro committed Jan 5, 2015
2 parents e27546c + 3406f62 commit 81ff5ec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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"
}
}
}
4 changes: 2 additions & 2 deletions event/listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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'])
Expand Down

0 comments on commit 81ff5ec

Please sign in to comment.