Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -31,7 +31,7 @@ class _Wpforo extends \IPS\convert\Software
|
||||
public static function softwareName()
|
||||
{
|
||||
/* Child classes must override this method */
|
||||
return "wpForo (1.9.x)";
|
||||
return "wpForo (2.1.x)";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -324,10 +324,10 @@ class _Wpforo extends \IPS\convert\Software
|
||||
$libraryClass->convertForumsPost( $info );
|
||||
|
||||
/* Reputation */
|
||||
foreach( $this->db->select( '*', 'wpforo_likes', [ 'postid=?', $row['postid'] ] ) AS $rep )
|
||||
foreach( $this->db->select( '*', 'wpforo_reactions', [ 'postid=? AND type=?', $row['postid'], 'up' ] ) AS $rep )
|
||||
{
|
||||
$libraryClass->convertReputation( [
|
||||
'id' => $rep['likeid'],
|
||||
'id' => $rep['reactionid'],
|
||||
'app' => 'forums',
|
||||
'type' => 'pid',
|
||||
'type_id' => $row['postid'],
|
||||
|
||||
Reference in new issue
Block a user