From 23b27fb2693f26aab8cabd1dd4946f3af367028b Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Mon, 3 Jul 2023 12:17:57 +0100 Subject: [PATCH] standalone: satisfy civilint on commented code --- .../CRM/Standaloneusers/BAO/Role.php | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ext/standaloneusers/CRM/Standaloneusers/BAO/Role.php b/ext/standaloneusers/CRM/Standaloneusers/BAO/Role.php index 5517aa72f5..ad9305b61c 100644 --- a/ext/standaloneusers/CRM/Standaloneusers/BAO/Role.php +++ b/ext/standaloneusers/CRM/Standaloneusers/BAO/Role.php @@ -13,18 +13,18 @@ class CRM_Standaloneusers_BAO_Role extends CRM_Standaloneusers_DAO_Role { */ /* public static function create($params) { - $className = 'CRM_Standaloneusers_DAO_Role'; - $entityName = 'Role'; - $hook = empty($params['id']) ? 'create' : 'edit'; + $className = 'CRM_Standaloneusers_DAO_Role'; + $entityName = 'Role'; + $hook = empty($params['id']) ? 'create' : 'edit'; - CRM_Utils_Hook::pre($hook, $entityName, CRM_Utils_Array::value('id', $params), $params); - $instance = new $className(); - $instance->copyValues($params); - $instance->save(); - CRM_Utils_Hook::post($hook, $entityName, $instance->id, $instance); + CRM_Utils_Hook::pre($hook, $entityName, CRM_Utils_Array::value('id', $params), $params); + $instance = new $className(); + $instance->copyValues($params); + $instance->save(); + CRM_Utils_Hook::post($hook, $entityName, $instance->id, $instance); - return $instance; + return $instance; } - */ + */ } -- 2.25.1