PluginProbe
wpForo Forum / 3.2.0
wpForo Forum v3.2.0
3.2.0 3.1.7 3.1.6 3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 All 140 releases
← All changes | includes/installation.php +8 -0 3.1.1 → 3.2.0 View file →
@@ -504,8 +504,16 @@
504 504 OR `option_name` REGEXP '^" . WPF()->base_prefix . "'"
505 505 );
506 506 WPF()->db->query( "DELETE FROM `" . WPF()->db->usermeta . "` WHERE `meta_key` REGEXP '^" . WPF()->base_prefix . "'" );
507 507 foreach( WPF()->_base_tables as $table ) WPF()->db->query( "DROP TABLE IF EXISTS `" . wpforo_fix_table_name( $table ) . "`" );
508 +
509 + // gVectors News module cleanup — shared gvectors_* data is removed only when
510 + // no other gVectors plugin (wpDiscuz, ...) carrying the module remains installed
511 + if( class_exists( \gVectors\News\NewsModule::class ) ) {
512 + $gv_news_config = \gVectors\News\NewsModule::get( WPFORO_BASEFOLDER, 'config' );
513 + if( $gv_news_config ) \gVectors\News\NewsModule::uninstall( $gv_news_config );
514 + }
515 +
508 516 deactivate_plugins( WPFORO_BASENAME );
509 517 }
510 518
511 519 function wpforo_profile_notice() {