@@ -27,8 +27,8 @@ |
||
| 27 | 27 | defined('MOODLE_INTERNAL') || die(); |
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | - * Enable RecordRTC plugin buttons on installation. |
|
| 31 | - */ |
|
| 30 | + * Enable RecordRTC plugin buttons on installation. |
|
| 31 | + */ |
|
| 32 | 32 | function xmldb_atto_recordrtc_install() { |
| 33 | 33 | $toolbar = get_config('editor_atto', 'toolbar'); |
| 34 | 34 | if (strpos($toolbar, 'recordrtc') === false && $toolbar && $toolbar != '') { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | foreach ($groups as $i => $group) { |
| 38 | 38 | $parts = explode('=', $group); |
| 39 | 39 | if (trim($parts[0]) == 'files') { |
| 40 | - $groups[$i] = 'files = ' . trim($parts[1]) . ', recordrtc'; |
|
| 40 | + $groups[$i] = 'files = '.trim($parts[1]).', recordrtc'; |
|
| 41 | 41 | // Update config variable. |
| 42 | 42 | $toolbar = implode("\n", $groups); |
| 43 | 43 | set_config('toolbar', $toolbar, 'editor_atto'); |