Файл: forsoc.ru/ext/shredder/sitemap/migrations/v1xx/v_1_1_0_beta.php
Строк: 33
<?php
/**
*
* @package phpBB3 SEO Sitemap
* @copyright (c) 2014 www.phpbb-work.ru
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
namespace shreddersitemapmigrationsv1xx;
class v_1_1_0_beta extends phpbbdbmigrationmigration
{
public function effectively_installed()
{
return isset($this->config['sitemap_seo_version']) && version_compare($this->config['sitemap_seo_version'], '1.1.0-beta', '>=');
}
static public function depends_on()
{
return array('shreddersitemapmigrationsv1xxv_1_0_7_beta');
}
public function update_data()
{
return array(
// Current version
array('config.update', array('sitemap_seo_version', '1.1.0-beta')),
);
}
}