diff --git a/core/scripts/generate-d7-content.sh b/core/scripts/generate-d7-content.sh index 04e7ea4..a12138e 100644 --- a/core/scripts/generate-d7-content.sh +++ b/core/scripts/generate-d7-content.sh @@ -261,7 +261,8 @@ for ($v = 0; $v < ($i % 4); $v++) { drupal_static_reset('ip_address'); $_SERVER['REMOTE_ADDR'] = "127.0.$v.1"; - $GLOBALS['user'] = new \Drupal\Core\Session\AnonymousUserSession();// We should have already allowed anon to vote. + // We should have already allowed anon to vote. + $GLOBALS['user'] = new \Drupal\Core\Session\AnonymousUserSession(); $c = $v % $nbchoices; $form_state = array(); $form_state['values']['choice'] = $choices[$c];