Version 0.9.9b1
-replace icons with font awesome icons -display icons on tabs and hide it on mobile access -new block last results -new config values for last users, last results -replace config value football_host_timezone with football_time_shift -fixed errors on php 7 -remove unnecessary sql_freeresult calls -fixed non-numeric value errors
This commit is contained in:
34
migrations/v099_beta1.php
Normal file
34
migrations/v099_beta1.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Football Football v0.9.9b1
|
||||
* @copyright (c) 2017 football (http://football.bplaced.net)
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace football\football\migrations;
|
||||
|
||||
class v099_beta1 extends \phpbb\db\migration\migration
|
||||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
return isset($this->config['football_version']) && version_compare($this->config['football_version'], '0.9.9b1', '>=');
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
{
|
||||
return array('\football\football\migrations\v098_beta');
|
||||
}
|
||||
|
||||
public function update_data()
|
||||
{
|
||||
return array(
|
||||
array('config.remove', array('football_host_timezone')),
|
||||
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_results', '0', '0')),
|
||||
array('config.update', array('football_version', '0.9.9b1', '0')),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user