summaryrefslogtreecommitdiff
path: root/net-p2p/biglybt/files/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch
blob: a736a191b1295de7150076f19312456f7a91c49b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- a/core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java
+++ b/core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java
@@ -99,7 +99,7 @@ PluginUpdatePlugin
 
 		final PluginConfig	plugin_config = plugin_interface.getPluginconfig();
 
-		boolean enabled = plugin_config.getPluginBooleanParameter( "enable.update", true );
+		boolean enabled = plugin_config.getPluginBooleanParameter( "enable.update", false );
 
 		model.setConfigSectionID(PLUGIN_CONFIGSECTION_ID);
 		model.getStatus().setText( enabled?"Running":"Optional checks disabled" );
@@ -130,7 +130,7 @@ PluginUpdatePlugin
 
 		BasicPluginConfigModel config = ui_manager.createBasicPluginConfigModel(ConfigSection.SECTION_PLUGINS, PLUGIN_CONFIGSECTION_ID);
 
-		config.addBooleanParameter2( "enable.update", "Plugin.pluginupdate.enablecheck", true );
+		config.addBooleanParameter2( "enable.update", "Plugin.pluginupdate.enablecheck", false );
 
 		plugin_interface.addEventListener(
 			new PluginEventListener()
@@ -563,7 +563,7 @@ PluginUpdatePlugin
 		try{
 			if ( 	(!mandatory) &&
 					(ids_to_check == null ) && 	// allow custom actions through
-					(!plugin_interface.getPluginconfig().getPluginBooleanParameter( "enable.update", true ))){
+					(!plugin_interface.getPluginconfig().getPluginBooleanParameter( "enable.update", false ))){
 
 				return( num_updates_found );
 			}
-- 
2.44.2