Project

General

Profile

« Previous | Next » 

Revision e14d1c01

Added by Ermal Luçi almost 16 years ago

Trigger syncing of data always and let the apprpriate script(rc.filter_synchronize) decide if a notice is to be send or not. This removes dependency on keeping code synchronized with the syncing script.

View differences:

etc/inc/util.inc
955 955

  
956 956
/* sync carp entries to other firewalls */
957 957
function carp_sync_client() {
958
	global $g, $config;
959
	if (is_array($config['installedpackages']['carpsettings']['config'])) {
960
		update_filter_reload_status("Syncing CARP data");
961
		touch($g['tmp_path'] . "/filter_sync"); 
962
	}
958
	global $g;
959
	touch($g['tmp_path'] . "/filter_sync"); 
963 960
}
964 961

  
965 962
/****f* util/isAjax

Also available in: Unified diff