Part of #2047951: [META] Remove calls to deprecated global $user and $GLOBALS['user']
All places in History module should be fixed.
core/modules/history/history.module: global $user;
core/modules/history/history.module: global $user;
core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php: global $user;
core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php: global $user;
core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php: global $user;
core/modules/history/lib/Drupal/history/Plugin/views/filter/HistoryUserTimestamp.php: global $user;
core/modules/history/lib/Drupal/history/Tests/Views/HistoryTimestampTest.php: $GLOBALS['user'] = $account;