Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -462,7 +462,7 @@ class _Vbulletin extends \IPS\convert\Software
|
||||
'rating_real' => $nodeinfo['ratingtotal'],
|
||||
'rating_hits' => $nodeinfo['ratingnum'],
|
||||
'rating_value' => $nodeinfo['rating'],
|
||||
'record_locked' => $node['comments_enabled'],
|
||||
'record_locked' => ( $node['comments_enabled'] ) ? 0 : 1,
|
||||
'record_views' => $nodeinfo['viewcount'],
|
||||
'record_allow_comments' => $node['comments_enabled'],
|
||||
'record_saved' => $node['publishdate'],
|
||||
@@ -498,7 +498,11 @@ class _Vbulletin extends \IPS\convert\Software
|
||||
// Uncomment this once Tags are implemented for the cms;
|
||||
# \IPS\Task::queue( 'convert', 'RebuildTagCache', array( 'app' => $this->app->app_id, 'link' => 'cms_custom_database_' . $database, 'class' => 'IPS\cms\Records' . $database ), 3, array( 'app', 'link', 'class' ) );
|
||||
|
||||
\IPS\Task::queue( 'convert', 'RebuildContent', array( 'app' => $this->app->app_id, 'link' => 'cms_custom_database_' . $database, 'class' => 'IPS\cms\Records' . $database ), 2, array( 'app', 'link', 'class' ) );
|
||||
try
|
||||
{
|
||||
\IPS\Task::queue( 'convert', 'RebuildContent', array( 'app' => $this->app->app_id, 'link' => 'cms_custom_database_' . $database, 'class' => 'IPS\cms\Records' . $database ), 2, array( 'app', 'link', 'class' ) );
|
||||
}
|
||||
catch ( \OutOfRangeException $e ) {}
|
||||
}
|
||||
|
||||
return array( "f_recount_cms_categories", "f_rebuild_cms_tags" );
|
||||
|
||||
Reference in new issue
Block a user