This repository has been archived by the owner on Dec 29, 2024. It is now read-only.
forked from phpbb/phpbb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[prep-release-3.2.5] Add 3.2.5 migration
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
/** | ||
* | ||
* This file is part of the phpBB Forum Software package. | ||
* | ||
* @copyright (c) phpBB Limited <https://www.phpbb.com> | ||
* @license GNU General Public License, version 2 (GPL-2.0) | ||
* | ||
* For full copyright and license information, please see | ||
* the docs/CREDITS.txt file. | ||
* | ||
*/ | ||
|
||
namespace phpbb\db\migration\data\v32x; | ||
|
||
class v325 extends \phpbb\db\migration\migration | ||
{ | ||
public function effectively_installed() | ||
{ | ||
return phpbb_version_compare($this->config['version'], '3.2.5', '>='); | ||
} | ||
|
||
static public function depends_on() | ||
{ | ||
return array( | ||
'\phpbb\db\migration\data\v32x\v325rc1', | ||
'\phpbb\db\migration\data\v32x\jquery_update', | ||
); | ||
|
||
} | ||
|
||
public function update_data() | ||
{ | ||
return array( | ||
array('config.update', array('version', '3.2.5')), | ||
); | ||
} | ||
} |