migrate/(export,import)JSON.php - Syntax cleanup
authorTim Otten <totten@civicrm.org>
Wed, 17 Aug 2016 01:57:07 +0000 (18:57 -0700)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 17 Aug 2016 05:17:22 +0000 (15:17 +1000)
bin/migrate/exportJSON.php
bin/migrate/importJSON.php

index c9f8b422a5e9eaa81aaed5edbfdb9c563eb71de3..8c0370bed946ff5a958b98800dda063e90aedbfe 100644 (file)
@@ -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);
   }
index 233d07df10e47b6ff00f947d902c0de56b39dea7..2de96bf21681782d14aad3985dff575c2ab5fa1f 100644 (file)
@@ -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);
   }