Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -149,14 +149,6 @@ class Invisioncommunity extends Software
|
||||
'table' => 'core_rss_imported',
|
||||
'where' => NULL,
|
||||
),
|
||||
'convertForumsQuestionRatings' => array(
|
||||
'table' => 'forums_question_ratings',
|
||||
'where' => NULL,
|
||||
),
|
||||
'convertForumsAnswerRatings' => array(
|
||||
'table' => 'forums_answer_ratings',
|
||||
'where' => NULL,
|
||||
),
|
||||
'convertAttachments' => array(
|
||||
'table' => 'core_attachments',
|
||||
'where' => NULL
|
||||
@@ -279,26 +271,6 @@ class Invisioncommunity extends Software
|
||||
return array( "f_forum_last_post_data", "f_rebuild_posts", "f_recounting_forums", "f_recounting_topics", "f_topic_tags_recount" );
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert question ratings
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function convertForumsAnswerRatings() : void
|
||||
{
|
||||
$libraryClass = $this->getLibrary();
|
||||
$libraryClass::setKey( 'id' );
|
||||
|
||||
foreach( $this->fetch( 'forums_answer_ratings', 'id' ) AS $row )
|
||||
{
|
||||
/* Remove non-standard columns */
|
||||
$this->parent->unsetNonStandardColumns( $row, 'forums_answer_ratings', 'forums' );
|
||||
|
||||
$libraryClass->convertForumsAnswerRating( $row );
|
||||
$libraryClass->setLastKeyValue( $row['id'] );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert forums
|
||||
*
|
||||
@@ -437,26 +409,6 @@ class Invisioncommunity extends Software
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert question ratings
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function convertForumsQuestionRatings() : void
|
||||
{
|
||||
$libraryClass = $this->getLibrary();
|
||||
$libraryClass::setKey( 'id' );
|
||||
|
||||
foreach( $this->fetch( 'forums_question_ratings', 'id' ) AS $row )
|
||||
{
|
||||
/* Remove non-standard columns */
|
||||
$this->parent->unsetNonStandardColumns( $row, 'forums_question_ratings', 'forums' );
|
||||
|
||||
$libraryClass->convertForumsQuestionRating( $row );
|
||||
$libraryClass->setLastKeyValue( $row['id'] );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert topics mmod
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user