Revision: 6622
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6622&view=rev
Author:   owes
Date:     2012-05-22 07:13:41 +0000 (Tue, 22 May 2012)
Log Message:
-----------
blacklistupdate either via fcron or red connect. Additional ENABLE_AUTOUPDATE 
is never used.

Modified Paths:
--------------
    ipcop/trunk/src/scripts/blacklistupdate.pl

Modified: ipcop/trunk/src/scripts/blacklistupdate.pl
===================================================================
--- ipcop/trunk/src/scripts/blacklistupdate.pl  2012-05-21 19:22:54 UTC (rev 
6621)
+++ ipcop/trunk/src/scripts/blacklistupdate.pl  2012-05-22 07:13:41 UTC (rev 
6622)
@@ -118,15 +118,15 @@
 
 sub updateblacklist
 {
-    if (($updatesettings{'ENABLE_AUTOUPDATE'} ne 'on') && !$doUpdateForce) {
-        if ($debugLevel > 0) {
-            print "Update not enabled, exit.\n";
-            system("logger -t installpackage[urlfilter] \"URL filter blacklist 
- Update not enabled, exit.\"");
-        }
+    # ENABLE_AUTOUPDATE is never set in current .cgi
+    #if (($updatesettings{'ENABLE_AUTOUPDATE'} ne 'on') && !$doUpdateForce) {
+    #    if ($debugLevel > 0) {
+    #        print "Update not enabled, exit.\n";
+    #        system("logger -t installpackage[urlfilter] \"URL filter 
blacklist - Update not enabled, exit.\"");
+    #    }
+    #    return;
+    #}
 
-        return;
-    }
-
     my $blacklist_url = '';
     my $blacklist_src = '';
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to