{"action":"created","issue":{"url":"https://api.github.com/repos/contao/core/issues/8106","labels_url":"https://api.github.com/repos/contao/core/issues/8106/labels{/name}","comments_url":"https://api.github.com/repos/contao/core/issues/8106/comments","events_url":"https://api.github.com/repos/contao/core/issues/8106/events","html_url":"https://github.com/contao/core/issues/8106","id":116769782,"number":8106,"title":"$GLOBALS['TL_HOOKS']['getCountries'] in System.php don't do any thing","user":{"login":"tsarma","id":683894,"avatar_url":"https://avatars.githubusercontent.com/u/683894?v=3","gravatar_id":"","url":"https://api.github.com/users/tsarma","html_url":"https://github.com/tsarma","followers_url":"https://api.github.com/users/tsarma/followers","following_url":"https://api.github.com/users/tsarma/following{/other_user}","gists_url":"https://api.github.com/users/tsarma/gists{/gist_id}","starred_url":"https://api.github.com/users/tsarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsarma/subscriptions","organizations_url":"https://api.github.com/users/tsarma/orgs","repos_url":"https://api.github.com/users/tsarma/repos","events_url":"https://api.github.com/users/tsarma/events{/privacy}","received_events_url":"https://api.github.com/users/tsarma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-13T13:37:05Z","updated_at":"2015-11-13T13:56:47Z","closed_at":null,"body":"```qoute\r\nThe getCountries hook allows to modify the system's list of countries.\r\n```\r\n\r\nThe Hook is useless, because the returned array is same as before calling HOOK function.\r\n"},"comment":{"url":"https://api.github.com/repos/contao/core/issues/comments/156436424","html_url":"https://github.com/contao/core/issues/8106#issuecomment-156436424","issue_url":"https://api.github.com/repos/contao/core/issues/8106","id":156436424,"user":{"login":"baumannsven","id":2493263,"avatar_url":"https://avatars.githubusercontent.com/u/2493263?v=3","gravatar_id":"","url":"https://api.github.com/users/baumannsven","html_url":"https://github.com/baumannsven","followers_url":"https://api.github.com/users/baumannsven/followers","following_url":"https://api.github.com/users/baumannsven/following{/other_user}","gists_url":"https://api.github.com/users/baumannsven/gists{/gist_id}","starred_url":"https://api.github.com/users/baumannsven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baumannsven/subscriptions","organizations_url":"https://api.github.com/users/baumannsven/orgs","repos_url":"https://api.github.com/users/baumannsven/repos","events_url":"https://api.github.com/users/baumannsven/events{/privacy}","received_events_url":"https://api.github.com/users/baumannsven/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T13:56:47Z","updated_at":"2015-11-13T13:56:47Z","body":"You must reference  the first argument by your method\r\n\r\n```php\r\n\r\npublic static function myGetCountries (&$return, $countries)\r\n{\r\n\r\n} \r\n```"}}