Skip to content

Commit

Permalink
Initial 1.0 relese
Browse files Browse the repository at this point in the history
Changes made to $DB and to composer.json to comply with new functions
Added support for version check
  • Loading branch information
satanasov committed Jul 19, 2014
1 parent f496261 commit b65a8ca
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
13 changes: 10 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@
}
],
"require": {
"php": ">=5.3",
"phpbb/phpbb": "3.1.*@dev"
"php": ">=5.3"
},
"extra": {
"display-name": "phpBB 3.1 Zebra Enchance"
"display-name": "phpBB 3.1 Post Love",
"version-check": {
"host": "lab.anavaro.com",
"directory": "/phpbb-ext",
"filename": "zebraenhance.json"
},
"soft-require": {
"phpbb/phpbb": "3.1.*@dev"
}
}
}
2 changes: 1 addition & 1 deletion controller/ajaxify.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ajaxify
* @param string $root_path phpBB root path
* @param string $php_ext phpEx
*/
public function __construct(\phpbb\auth\auth $auth, \phpbb\cache\service $cache, \phpbb\config\config $config, \phpbb\db\driver\driver $db, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, \phpbb\controller\helper $helper, $root_path, $php_ext, $table_prefix)
public function __construct(\phpbb\auth\auth $auth, \phpbb\cache\service $cache, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, \phpbb\controller\helper $helper, $root_path, $php_ext, $table_prefix)
{
$this->auth = $auth;
$this->cache = $cache;
Expand Down
2 changes: 1 addition & 1 deletion controller/notifyhelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class notifyhelper
* @return \phpbb\boardrules\controller\admin_controller
* @access public
*/
public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver $db, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, Container $phpbb_container, $root_path, $php_ext)
public function __construct(\phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, Container $phpbb_container, $root_path, $php_ext)
{
$this->config = $config;
$this->db = $db;
Expand Down
2 changes: 1 addition & 1 deletion event/zebra_listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static public function getSubscribedEvents()
* @param string $root_path phpBB root path
* @param string $php_ext phpEx
*/
public function __construct(\phpbb\user_loader $user_loader, \phpbb\auth\auth $auth, \phpbb\cache\service $cache, \phpbb\config\config $config, \phpbb\db\driver\driver $db, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, \phpbb\controller\helper $helper, \anavaro\zebraenhance\controller\notifyhelper $notifyhelper, $root_path, $php_ext, $table_prefix)
public function __construct(\phpbb\user_loader $user_loader, \phpbb\auth\auth $auth, \phpbb\cache\service $cache, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\user $user, \phpbb\controller\helper $helper, \anavaro\zebraenhance\controller\notifyhelper $notifyhelper, $root_path, $php_ext, $table_prefix)
{
$this->user_loader = $user_loader;
$this->auth = $auth;
Expand Down

0 comments on commit b65a8ca

Please sign in to comment.