From f79b733dcb737ed4ed184ce28013da171b425987 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 c9f8b422a5..8c0370bed9 100644 --- a/bin/migrate/exportJSON.php +++ b/bin/migrate/exportJSON.php @@ -40,7 +40,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 233d07df10..2de96bf216 100644 --- a/bin/migrate/importJSON.php +++ b/bin/migrate/importJSON.php @@ -40,7 +40,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