Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -79,10 +79,6 @@ class _Expressionengine extends \IPS\convert\Software
|
||||
'convertPmAttachments' => array(
|
||||
'table' => 'exp_message_attachments',
|
||||
'where' => NULL,
|
||||
),
|
||||
'convertRanks' => array(
|
||||
'table' => 'exp_forum_ranks',
|
||||
'where' => NULL
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -552,30 +548,6 @@ class _Expressionengine extends \IPS\convert\Software
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert ranks
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function convertRanks()
|
||||
{
|
||||
$libraryClass = $this->getLibrary();
|
||||
|
||||
$libraryClass::setKey( 'rank_id' );
|
||||
|
||||
foreach( $this->fetch( 'exp_forum_ranks', 'rank_id' ) AS $row )
|
||||
{
|
||||
$libraryClass->convertRank( array(
|
||||
'id' => $row['rank_id'],
|
||||
'title' => $row['rank_title'],
|
||||
'posts' => $row['rank_min_posts'],
|
||||
'pips' => $row['rank_stars']
|
||||
) );
|
||||
|
||||
$libraryClass->setLastKeyValue( $row['rank_id'] );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert PMs
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user