-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50af517
commit 4c0aab6
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)), | ||
); | ||
} | ||
} | ||
|