Skip to content

Commit

Permalink
Merge pull request #170 from catalyst/169-failing-core-unit-tests-duo…
Browse files Browse the repository at this point in the history
…-to-incorrect-default-value

issue #169: Add default settings for cleaner_custom_sql_pre and _post
  • Loading branch information
keevan authored Jan 10, 2024
2 parents e317343 + 2fa8474 commit eafa2e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cleaner/custom_sql_post/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@

$settings->add(new admin_setting_configtextarea('cleaner_custom_sql_post/sql',
new lang_string('sql', 'cleaner_custom_sql_post'),
new lang_string('sqldesc', 'cleaner_custom_sql_post'), null, PARAM_RAW));
new lang_string('sqldesc', 'cleaner_custom_sql_post'), '', PARAM_RAW));
2 changes: 1 addition & 1 deletion cleaner/custom_sql_pre/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@

$settings->add(new admin_setting_configtextarea('cleaner_custom_sql_pre/sql',
new lang_string('sql', 'cleaner_custom_sql_pre'),
new lang_string('sqldesc', 'cleaner_custom_sql_pre'), null, PARAM_RAW));
new lang_string('sqldesc', 'cleaner_custom_sql_pre'), '', PARAM_RAW));

0 comments on commit eafa2e6

Please sign in to comment.