Title: [opsview] [13232] Allow disabling of survey from command line, but not from system preference
Revision
13232
Author
tvoon
Date
2013-08-14 12:08:21 +0100 (Wed, 14 Aug 2013)

Log Message

Allow disabling of survey from command line, but not from system preference
which is not possible anyway

Modified Paths

Modified: trunk/opsview-core/nagios-plugins/check_opsview_update
===================================================================
--- trunk/opsview-core/nagios-plugins/check_opsview_update	2013-08-14 11:04:03 UTC (rev 13231)
+++ trunk/opsview-core/nagios-plugins/check_opsview_update	2013-08-14 11:08:21 UTC (rev 13232)
@@ -111,9 +111,7 @@
     }
 }
 else {
-    if ( !$np->opts->donotsenddata
-        && Opsview::Systempreference->send_anon_data )
-    {
+    if ( !$np->opts->donotsenddata ) {
         $include_advanced_stats = 1;
     }
 }

_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to