Skip to content

Commit

Permalink
prepare next development cylce
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertHeim committed Sep 29, 2014
1 parent 50af517 commit 4c0aab6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "Enables tagging of topics",
"homepage": "https://github.com/RobertHeim/phpbb-ext-topictags",
"version": "0.0.5-DEV",
"version": "0.0.6-DEV",
"time": "2014-09-29",
"keywords": ["phpbb", "extension", "topic tags", "tag", "tagging"],
"license": "GPL-2.0",
Expand Down
36 changes: 36 additions & 0 deletions migrations/release_0_0_6.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/**
*
* @package phpBB Extension - RH Topic Tags
* @copyright (c) 2014 Robet Heim
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

namespace robertheim\topictags\migrations;
use robertheim\topictags\PREFIXES;

class release_0_0_6 extends \phpbb\db\migration\migration
{
protected $version = "0.0.6-DEV";

public function effectively_installed()
{
return version_compare($this->config[PREFIXES::CONFIG.'_version'], $this->version, '>=');
}

static public function depends_on()
{
return array(
'\robertheim\topictags\migrations\release_0_0_5',
);
}

public function update_data()
{
return array(
array('config.update', array(PREFIXES::CONFIG.'_version', $this->version)),
);
}
}

0 comments on commit 4c0aab6

Please sign in to comment.