Skip to content

Commit

Permalink
Rename converters to do not contain bugfix version number
Browse files Browse the repository at this point in the history
  • Loading branch information
daris committed Jan 31, 2012
1 parent 3ee265d commit 59d180c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion forums/PhpBB_3_0_9.php → forums/PhpBB_3_0.php
Expand Up @@ -13,7 +13,7 @@
define('FORUM_SI_REVISION', 2);
define('FORUM_PARSER_REVISION', 2);

class PhpBB_3_0_9 extends Forum
class PhpBB_3_0 extends Forum
{
// Will the passwords be converted?
const CONVERTS_PASSWORD = false;
Expand Down
2 changes: 1 addition & 1 deletion forums/PunBB_1.3_1.4.php
Expand Up @@ -30,7 +30,7 @@ class PunBB_1_3_1_4 extends Forum
'ranks' => array('ranks', 'id'),
'reports' => array('reports', 'id'),
'topic_subscriptions' => array('subscriptions', 'topic_id'),
'forum_subscriptions' => 0,//array('forum_subscriptions', 'forum_id'),
'forum_subscriptions' => 0,
'topics' => array('topics', 'id'),
'users' => array('users', 'id', 'id > 1'),
);
Expand Down
2 changes: 1 addition & 1 deletion forums/SMF_1_1_11.php → forums/SMF_1_1.php
Expand Up @@ -13,7 +13,7 @@
define('FORUM_SI_REVISION', 2);
define('FORUM_PARSER_REVISION', 2);

class SMF_1_1_11 extends Forum
class SMF_1_1 extends Forum
{
// Will the passwords be converted?
const CONVERTS_PASSWORD = true;
Expand Down
2 changes: 1 addition & 1 deletion forums/vBulletin_4_1_5.php → forums/vBulletin_4_1.php
Expand Up @@ -13,7 +13,7 @@
define('FORUM_SI_REVISION', 2);
define('FORUM_PARSER_REVISION', 2);

class VBulletin_4_1_5 extends Forum
class VBulletin_4_1 extends Forum
{
// Will the passwords be converted?
const CONVERTS_PASSWORD = false;
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -129,7 +129,7 @@

if (!isset($step) || $step != 'results')
{
// Start the converter. When it do its work, it redirects to the next page
// Start the converter
$redirect = $converter->convert($step, $start_at);

if ($redirect === false)
Expand Down
4 changes: 2 additions & 2 deletions tests/ConverterTest.php
Expand Up @@ -120,7 +120,7 @@ function testPhpFusion()

function testPhpbb3()
{
$this->convert('PhpBB_3_0_9', 'phpbb__test', 'phpbb_');
$this->convert('PhpBB_3_0', 'phpbb__test', 'phpbb_');
}

function testPunBB()
Expand All @@ -130,7 +130,7 @@ function testPunBB()

function testSmf1()
{
$this->convert('SMF_1_1_11', 'smf1__test', 'smf_');
$this->convert('SMF_1_1', 'smf1__test', 'smf_');
}

function testSmf2()
Expand Down

0 comments on commit 59d180c

Please sign in to comment.