Skip to content

Commit

Permalink
Ops!
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Nov 18, 2023
1 parent 73ddf6d commit 06897b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/output/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public static function set_user_preferences($preferences) {
try {
$user = core_user::get_user($USER->id, '*', MUST_EXIST);
core_user::require_active_user($user);
$userscache[$userid] = $user;
$userscache[$user->id] = $user;
} catch (Exception $e) {
$warnings[] = [
'item' => 'user',
Expand Down
2 changes: 1 addition & 1 deletion lang/en/theme_foundation.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@
$string['versionstable'] = 'Stable version - Could contain bugs. Check on a test server before installing on your production server.';

// Privacy.
$string['privacynote'] = 'Note: The Foundation theme stores has settings that pertain to its configuration. Specific user settings are described in the \'Plugin privacy registry\'. For the other settings, it is your responsibilty to ensure that no user data is entered in any of the free text fields. Setting a setting will result in that action being logged within the core Moodle logging system against the user whom changed it, this is outside of the themes control, please see the core logging system for privacy compliance for this. When uploading images, you should avoid uploading images with embedded location data (EXIF GPS) included or other such personal data. It would be possible to extract any location / personal data from the images. Please examine the code carefully to be sure that it complies with your interpretation of your privacy laws. I am not a lawyer and my analysis is based on my interpretation. If you have any doubt then remove the theme forthwith.';
$string['privacynote'] = 'Note: The Foundation theme stores has settings that pertain to its configuration. Specific user settings are described in the \'Plugin privacy registry\'. For the other settings, it is your responsibility to ensure that no user data is entered in any of the free text fields. Setting a setting will result in that action being logged within the core Moodle logging system against the user whom changed it, this is outside of the themes control, please see the core logging system for privacy compliance for this. When uploading images, you should avoid uploading images with embedded location data (EXIF GPS) included or other such personal data. It would be possible to extract any location / personal data from the images. Please examine the code carefully to be sure that it complies with your interpretation of your privacy laws. I am not a lawyer and my analysis is based on my interpretation. If you have any doubt then remove the theme forthwith.';
$string['privacy:metadata:preference:collapseblock'] = 'The state of the blocks on a page.';
$string['privacy:request:preference:collapseblock'] = 'The user preference "{$a->name}" for block id "{$a->blockid}" has the value "{$a->value}" which represents "{$a->decoded}" for the state of the block.';
$string['privacy:metadata:preference:drawerclosed'] = 'The state of the drawer.';
Expand Down

0 comments on commit 06897b5

Please sign in to comment.