aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/convert_phpbb20.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-07 14:08:47 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-07 14:08:47 +0000
commit3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294 (patch)
tree852dea56357815fb08de7a50de178149fcc9412d /phpBB/install/convertors/convert_phpbb20.php
parent09ce0caad6cf62214b56387697afb9fb2f2cc4d8 (diff)
downloadforums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.gz
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.bz2
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.tar.xz
forums-3c352ba4efc4d6bdb805ff4c7a1ff757c27ee294.zip
- fix some convertor bugs.
- added support for the validated birthday mod and fixed the integration of nils' birthday mod git-svn-id: file:///svn/phpbb/trunk@6851 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/convertors/convert_phpbb20.php')
-rw-r--r--phpBB/install/convertors/convert_phpbb20.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/install/convertors/convert_phpbb20.php b/phpBB/install/convertors/convert_phpbb20.php
index 80143f18f8..f7a593232a 100644
--- a/phpBB/install/convertors/convert_phpbb20.php
+++ b/phpBB/install/convertors/convert_phpbb20.php
@@ -142,12 +142,19 @@ $test_file = 'modcp.php';
if (!$get_info)
{
// Test to see if the birthday MOD is installed on the source forum
- // @todo Check the relevant MODs - I believe there are 2 that add this, but am not sure if their data is compatible or not
+ // Nils' birthday mod
if (get_config_value('birthday_required') !== false)
{
define('MOD_BIRTHDAY', true);
}
+ // TerraFrost's validated birthday mod
+ if (get_config_value('bday_required') !== false)
+ {
+ define('MOD_BIRTHDAY', true);
+ define('MOD_BIRTHDAY_TERRA', true);
+ }
+
// Test to see if the attachment MOD is installed on the source forum
// If it is, we will convert this data as well
$db->sql_return_on_error(true);