Version 0.9.9

This commit is contained in:
football
2017-09-09 13:51:15 +02:00
parent c075143bfc
commit 7d8b92f1df
3 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@@ -62,3 +62,4 @@ Icon
/images/no_change.gif /images/no_change.gif
/images/arrow_down.gif /images/arrow_down.gif
/images/arrow_up.gif /images/arrow_up.gif
/migrations/v099_beta1.php

View File

@@ -3,7 +3,7 @@
"type": "phpbb-extension", "type": "phpbb-extension",
"description": "Football Prediction League", "description": "Football Prediction League",
"homepage": "http://football.bplaced.net", "homepage": "http://football.bplaced.net",
"version": "0.9.9b1", "version": "0.9.9",
"time": "2017-09-09", "time": "2017-09-09",
"license": "GPL-2.0", "license": "GPL-2.0",
"authors": [{ "authors": [{
@@ -18,7 +18,7 @@
"extra": { "extra": {
"display-name": "Football Prediction League", "display-name": "Football Prediction League",
"soft-require": { "soft-require": {
"phpbb/phpbb": "3.1.*" "phpbb/phpbb": ">3.1.*"
}, },
"version-check": { "version-check": {
"host": "football.bplaced.net", "host": "football.bplaced.net",

View File

@@ -1,7 +1,7 @@
<?php <?php
/** /**
* *
* @package Football Football v0.9.9b1 * @package Football Football v0.9.9
* @copyright (c) 2017 football (http://football.bplaced.net) * @copyright (c) 2017 football (http://football.bplaced.net)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
* *
@@ -9,11 +9,11 @@
namespace football\football\migrations; namespace football\football\migrations;
class v099_beta1 extends \phpbb\db\migration\migration class v099_beta extends \phpbb\db\migration\migration
{ {
public function effectively_installed() public function effectively_installed()
{ {
return isset($this->config['football_version']) && version_compare($this->config['football_version'], '0.9.9b1', '>='); return isset($this->config['football_version']) && version_compare($this->config['football_version'], '0.9.9', '>=');
} }
static public function depends_on() static public function depends_on()
@@ -28,7 +28,7 @@ class v099_beta1 extends \phpbb\db\migration\migration
array('config.add', array('football_time_shift', '1', '0')), array('config.add', array('football_time_shift', '1', '0')),
array('config.add', array('football_display_last_users', '5', '0')), array('config.add', array('football_display_last_users', '5', '0')),
array('config.add', array('football_display_last_results', '0', '0')), array('config.add', array('football_display_last_results', '0', '0')),
array('config.update', array('football_version', '0.9.9b1', '0')), array('config.update', array('football_version', '0.9.9', '0')),
); );
} }
} }