guid, $role, true, "integer", $user->guid, ACCESS_PUBLIC)){ $result = true; } } if(!$result){ register_error(elgg_echo("translation_editor:action:make_translation_editor:error")); } else { system_message(elgg_echo("translation_editor:action:make_translation_editor:success")); } forward(REFERER);