diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-15 00:25:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-15 00:25:40 +0000 |
commit | 77225d8fd5b31e9dbde9577db4ce7aa4640d131d (patch) | |
tree | ea5d955e9b3c6d95cfed1bd3d831dc350f73c1ee /packages/tinydns | |
parent | 6187bbaf43e43136cb8253052c747207d8619f61 (diff) | |
download | pfsense-packages-77225d8fd5b31e9dbde9577db4ce7aa4640d131d.tar.gz pfsense-packages-77225d8fd5b31e9dbde9577db4ce7aa4640d131d.tar.bz2 pfsense-packages-77225d8fd5b31e9dbde9577db4ce7aa4640d131d.zip |
Disable XMLRPC sync temporarily until Ticket #1318 can be fixed.
Diffstat (limited to 'packages/tinydns')
-rw-r--r-- | packages/tinydns/tinydns_xmlrpc_sync.php | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php index 752fd0e3..0610e286 100644 --- a/packages/tinydns/tinydns_xmlrpc_sync.php +++ b/packages/tinydns/tinydns_xmlrpc_sync.php @@ -34,20 +34,26 @@ require_once("config.inc"); require_once("/usr/local/pkg/tinydns.inc"); require_once("service-utils.inc"); -if(!$config) { - log_error("\$config is not enabled from tinydns_xmlrpc_sync.php!!"); -} else { - if($config['installedpackages']['carpsettings']['config']) - $password = $config['installedpackages']['carpsettings']['config'][0]['password']; - if($config['installedpackages']['carpsettings']['config']) - $syncip = $config['installedpackages']['carpsettings']['config'][0]['synchronizetoip']; - if($config['installedpackages']['carpsettings']['config']) - $syncxmlrpc = $config['installedpackages']['tinydns']['config'][0]['syncxmlrpc']; - /* option enabled? */ - if($syncxmlrpc) - if($syncip) - if($password) - tinydns_do_xmlrpc_sync($syncip, $password); +if($notnow) { + + /* disabled until Ticket #1318 can be fixed */ + + if(!$config) { + log_error("\$config is not enabled from tinydns_xmlrpc_sync.php!!"); + } else { + if($config['installedpackages']['carpsettings']['config']) + $password = $config['installedpackages']['carpsettings']['config'][0]['password']; + if($config['installedpackages']['carpsettings']['config']) + $syncip = $config['installedpackages']['carpsettings']['config'][0]['synchronizetoip']; + if($config['installedpackages']['carpsettings']['config']) + $syncxmlrpc = $config['installedpackages']['tinydns']['config'][0]['syncxmlrpc']; + /* option enabled? */ + if($syncxmlrpc) + if($syncip) + if($password) + tinydns_do_xmlrpc_sync($syncip, $password); + } + } ?>
\ No newline at end of file |