Skip to content
Snippets Groups Projects
Commit 8db3c914 authored by totten's avatar totten
Browse files

migrate/(export,import)JSON.php - Syntax cleanup

parent 17baf858
Branches
Tags
No related merge requests found
......@@ -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);
}
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment