Deprecated flag used to check it sync is enabled

- fixed, now correctly looking for MISP.sync
pull/217/head
iglocska 2014-02-14 10:27:09 +01:00
parent 19302aca4f
commit 722f17f38d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class ServersController extends AppController {
parent::beforeFilter();
// Disable this feature if the sync configuration option is not active
if ('true' != Configure::read('CyDefSIG.sync'))
if ('true' != Configure::read('MISP.sync'))
throw new ConfigureException("The sync feature is not active in the configuration.");
// permit reuse of CSRF tokens on some pages.