Skip to content

Commit 5b68c41

Browse files
committed
#393 - fix coding style, excluding tests/
1 parent 4bda590 commit 5b68c41

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

classes/local/status.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
namespace tool_mergeusers\local;
1818

19+
// phpcs:disable moodle.Commenting.InlineComment.DocBlock
20+
1921
/**
2022
* Status enum for user merging process.
2123
*

lang/en/tool_mergeusers.php

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@
7070
$string['logok'] = 'Here are the queries that have been sent to the DB:';
7171
$string['mergedbyuseridonlog'] = 'Merged by';
7272
$string['mergeusers'] = 'Merge user accounts';
73-
$string['messageprovider:mergeusers_completion'] = 'Notification when user merge process is completed';
74-
$string['message:mergeusers_success_subject'] = 'User merge completed successfully';
75-
$string['message:mergeusers_success_body'] = 'The merge of user {$a->fromuser} (ID: {$a->fromuserid}) into {$a->touser} (ID: {$a->touserid}) has been completed successfully.';
76-
$string['message:mergeusers_error_subject'] = 'User merge completed with errors';
77-
$string['message:mergeusers_error_body'] = 'The merge of user {$a->fromuser} (ID: {$a->fromuserid}) into {$a->touser} (ID: {$a->touserid}) has been completed with errors. Please review the merge logs for details.';
7873
$string['mergeusers:mergeusers'] = 'Merge user accounts';
7974
$string['mergeusers:view'] = 'Merge User Accounts';
8075
$string['mergeusers:viewlog'] = 'View merge logs';
@@ -84,10 +79,10 @@
8479
$string['mergeusersadvanced_help'] = 'Here you can enter the below fields if you know exactly what users that you want to merge.<br /><br /> Click the "search" button in order to verify/confirm that the input entered are in fact users.';
8580
$string['mergeusersqueued'] = 'Merge queued!<br/>Between {$a->fromuser}<br/>and {$a->touser}.<br/>It will run during the next cron execution. You will see the results on {$a->logid}.';
8681
$string['merging'] = 'Merged';
87-
$string['message:mergeusers_error_body'] = 'The merge of user {$a->fromuser} into {$a->touser} has been completed with errors. Please review the merge {$a->logid} for details.';
88-
$string['message:mergeusers_error_subject'] = '[Merge Users] Merge completed with errors';
89-
$string['message:mergeusers_success_body'] = 'The merge of user {$a->fromuser} into {$a->touser} has been completed successfully. Please review the merge {$a->logid} for details.';
90-
$string['message:mergeusers_success_subject'] = '[Merge Users] Merge completed successfully';
82+
$string['message:mergeusers_error_body'] = 'The merge of user {$a->fromuser} (ID: {$a->fromuserid}) into {$a->touser} (ID: {$a->touserid}) has been completed with errors. Please review the merge logs for details.';
83+
$string['message:mergeusers_error_subject'] = 'User merge completed with errors';
84+
$string['message:mergeusers_success_body'] = 'The merge of user {$a->fromuser} (ID: {$a->fromuserid}) into {$a->touser} (ID: {$a->touserid}) has been completed successfully.';
85+
$string['message:mergeusers_success_subject'] = 'User merge completed successfully';
9186
$string['messageprovider:mergeusers_completion'] = 'Notification when user merge process is completed';
9287
$string['newuser'] = 'User to keep';
9388
$string['newuserid'] = 'User ID to be kept';

0 commit comments

Comments
 (0)