From 8db3c914601d0b86ab6d40f82f3a4c59f2312ca2 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 16 Aug 2016 18:57:07 -0700 Subject: [PATCH] migrate/(export,import)JSON.php - Syntax cleanup --- bin/migrate/exportJSON.php | 2 +- bin/migrate/importJSON.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.25.1