standalone: satisfy civilint on commented code
authorRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Mon, 3 Jul 2023 11:17:57 +0000 (12:17 +0100)
committerRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Mon, 3 Jul 2023 11:17:57 +0000 (12:17 +0100)
ext/standaloneusers/CRM/Standaloneusers/BAO/Role.php

index 5517aa72f5911dfc6cde6a6823042b8b60ecb7a1..ad9305b61c3caf5be8756602442103baa67545e1 100644 (file)
@@ -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;
   }
-  */
+   */
 
 }