From: Tim Otten Date: Wed, 17 Aug 2016 01:57:07 +0000 (-0700) Subject: migrate/(export,import)JSON.php - Syntax cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8db3c914601d0b86ab6d40f82f3a4c59f2312ca2;p=civicrm-core.git migrate/(export,import)JSON.php - Syntax cleanup --- diff --git a/bin/migrate/exportJSON.php b/bin/migrate/exportJSON.php index 1040afc180..9c49eb3f12 100644 --- a/bin/migrate/exportJSON.php +++ b/bin/migrate/exportJSON.php @@ -38,7 +38,7 @@ function run() { $config = CRM_Core_Config::singleton(); // this does not return on failure - CRM_Utils_System::authenticateScript( true ); + CRM_Utils_System::authenticateScript(TRUE); if (!CRM_Core_Permission::check('administer CiviCRM')) { CRM_Utils_System::authenticateAbort("User does not have required permission (administer CiviCRM).\n", TRUE); } diff --git a/bin/migrate/importJSON.php b/bin/migrate/importJSON.php index 21a23b2556..ab13914022 100644 --- a/bin/migrate/importJSON.php +++ b/bin/migrate/importJSON.php @@ -38,7 +38,7 @@ function run() { $config = CRM_Core_Config::singleton(); // this does not return on failure - CRM_Utils_System::authenticateScript( true ); + CRM_Utils_System::authenticateScript(TRUE); if (!CRM_Core_Permission::check('administer CiviCRM')) { CRM_Utils_System::authenticateAbort("User does not have required permission (administer CiviCRM).\n", TRUE); }