{"action":"opened","number":524,"pull_request":{"url":"https://api.github.com/repos/emoncms/emoncms/pulls/524","id":70239911,"html_url":"https://github.com/emoncms/emoncms/pull/524","diff_url":"https://github.com/emoncms/emoncms/pull/524.diff","patch_url":"https://github.com/emoncms/emoncms/pull/524.patch","issue_url":"https://api.github.com/repos/emoncms/emoncms/issues/524","number":524,"state":"open","locked":false,"title":"Small tidy of user_model and locale","user":{"login":"inverse","id":713525,"avatar_url":"https://avatars.githubusercontent.com/u/713525?v=3","gravatar_id":"","url":"https://api.github.com/users/inverse","html_url":"https://github.com/inverse","followers_url":"https://api.github.com/users/inverse/followers","following_url":"https://api.github.com/users/inverse/following{/other_user}","gists_url":"https://api.github.com/users/inverse/gists{/gist_id}","starred_url":"https://api.github.com/users/inverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inverse/subscriptions","organizations_url":"https://api.github.com/users/inverse/orgs","repos_url":"https://api.github.com/users/inverse/repos","events_url":"https://api.github.com/users/inverse/events{/privacy}","received_events_url":"https://api.github.com/users/inverse/received_events","type":"User","site_admin":false},"body":"- Small tidy of user_model\r\n\r\nhttps://github.com/emoncms/emoncms/blob/master/Modules/user/user_model.php#L554 - Not sure what should be done here? When this method is being called it sets $result to the void value. Should this be passing back the saved data instead?\r\n\r\n- Made consistent return on `directoryLocaleScan` in locale","created_at":"2016-05-16T18:36:24Z","updated_at":"2016-05-16T18:36:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emoncms/emoncms/pulls/524/commits","review_comments_url":"https://api.github.com/repos/emoncms/emoncms/pulls/524/comments","review_comment_url":"https://api.github.com/repos/emoncms/emoncms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emoncms/emoncms/issues/524/comments","statuses_url":"https://api.github.com/repos/emoncms/emoncms/statuses/5f6621efcef81b516a38e7f24854d717c08e148c","head":{"label":"inverse:small-tidy","ref":"small-tidy","sha":"5f6621efcef81b516a38e7f24854d717c08e148c","user":{"login":"inverse","id":713525,"avatar_url":"https://avatars.githubusercontent.com/u/713525?v=3","gravatar_id":"","url":"https://api.github.com/users/inverse","html_url":"https://github.com/inverse","followers_url":"https://api.github.com/users/inverse/followers","following_url":"https://api.github.com/users/inverse/following{/other_user}","gists_url":"https://api.github.com/users/inverse/gists{/gist_id}","starred_url":"https://api.github.com/users/inverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inverse/subscriptions","organizations_url":"https://api.github.com/users/inverse/orgs","repos_url":"https://api.github.com/users/inverse/repos","events_url":"https://api.github.com/users/inverse/events{/privacy}","received_events_url":"https://api.github.com/users/inverse/received_events","type":"User","site_admin":false},"repo":{"id":19405603,"name":"emoncms","full_name":"inverse/emoncms","owner":{"login":"inverse","id":713525,"avatar_url":"https://avatars.githubusercontent.com/u/713525?v=3","gravatar_id":"","url":"https://api.github.com/users/inverse","html_url":"https://github.com/inverse","followers_url":"https://api.github.com/users/inverse/followers","following_url":"https://api.github.com/users/inverse/following{/other_user}","gists_url":"https://api.github.com/users/inverse/gists{/gist_id}","starred_url":"https://api.github.com/users/inverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inverse/subscriptions","organizations_url":"https://api.github.com/users/inverse/orgs","repos_url":"https://api.github.com/users/inverse/repos","events_url":"https://api.github.com/users/inverse/events{/privacy}","received_events_url":"https://api.github.com/users/inverse/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inverse/emoncms","description":"Core emoncms bundle: includes: input, feed, dashboard, vis","fork":true,"url":"https://api.github.com/repos/inverse/emoncms","forks_url":"https://api.github.com/repos/inverse/emoncms/forks","keys_url":"https://api.github.com/repos/inverse/emoncms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inverse/emoncms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inverse/emoncms/teams","hooks_url":"https://api.github.com/repos/inverse/emoncms/hooks","issue_events_url":"https://api.github.com/repos/inverse/emoncms/issues/events{/number}","events_url":"https://api.github.com/repos/inverse/emoncms/events","assignees_url":"https://api.github.com/repos/inverse/emoncms/assignees{/user}","branches_url":"https://api.github.com/repos/inverse/emoncms/branches{/branch}","tags_url":"https://api.github.com/repos/inverse/emoncms/tags","blobs_url":"https://api.github.com/repos/inverse/emoncms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inverse/emoncms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inverse/emoncms/git/refs{/sha}","trees_url":"https://api.github.com/repos/inverse/emoncms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inverse/emoncms/statuses/{sha}","languages_url":"https://api.github.com/repos/inverse/emoncms/languages","stargazers_url":"https://api.github.com/repos/inverse/emoncms/stargazers","contributors_url":"https://api.github.com/repos/inverse/emoncms/contributors","subscribers_url":"https://api.github.com/repos/inverse/emoncms/subscribers","subscription_url":"https://api.github.com/repos/inverse/emoncms/subscription","commits_url":"https://api.github.com/repos/inverse/emoncms/commits{/sha}","git_commits_url":"https://api.github.com/repos/inverse/emoncms/git/commits{/sha}","comments_url":"https://api.github.com/repos/inverse/emoncms/comments{/number}","issue_comment_url":"https://api.github.com/repos/inverse/emoncms/issues/comments{/number}","contents_url":"https://api.github.com/repos/inverse/emoncms/contents/{+path}","compare_url":"https://api.github.com/repos/inverse/emoncms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inverse/emoncms/merges","archive_url":"https://api.github.com/repos/inverse/emoncms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inverse/emoncms/downloads","issues_url":"https://api.github.com/repos/inverse/emoncms/issues{/number}","pulls_url":"https://api.github.com/repos/inverse/emoncms/pulls{/number}","milestones_url":"https://api.github.com/repos/inverse/emoncms/milestones{/number}","notifications_url":"https://api.github.com/repos/inverse/emoncms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inverse/emoncms/labels{/name}","releases_url":"https://api.github.com/repos/inverse/emoncms/releases{/id}","deployments_url":"https://api.github.com/repos/inverse/emoncms/deployments","created_at":"2014-05-03T15:15:51Z","updated_at":"2016-05-16T14:36:34Z","pushed_at":"2016-05-16T18:34:43Z","git_url":"git://github.com/inverse/emoncms.git","ssh_url":"git@github.com:inverse/emoncms.git","clone_url":"https://github.com/inverse/emoncms.git","svn_url":"https://github.com/inverse/emoncms","homepage":null,"size":5321,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emoncms:master","ref":"master","sha":"a2505d0f77cd8ec373266ac3642f0e445ab290fd","user":{"login":"emoncms","id":2532311,"avatar_url":"https://avatars.githubusercontent.com/u/2532311?v=3","gravatar_id":"","url":"https://api.github.com/users/emoncms","html_url":"https://github.com/emoncms","followers_url":"https://api.github.com/users/emoncms/followers","following_url":"https://api.github.com/users/emoncms/following{/other_user}","gists_url":"https://api.github.com/users/emoncms/gists{/gist_id}","starred_url":"https://api.github.com/users/emoncms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emoncms/subscriptions","organizations_url":"https://api.github.com/users/emoncms/orgs","repos_url":"https://api.github.com/users/emoncms/repos","events_url":"https://api.github.com/users/emoncms/events{/privacy}","received_events_url":"https://api.github.com/users/emoncms/received_events","type":"Organization","site_admin":false},"repo":{"id":6233804,"name":"emoncms","full_name":"emoncms/emoncms","owner":{"login":"emoncms","id":2532311,"avatar_url":"https://avatars.githubusercontent.com/u/2532311?v=3","gravatar_id":"","url":"https://api.github.com/users/emoncms","html_url":"https://github.com/emoncms","followers_url":"https://api.github.com/users/emoncms/followers","following_url":"https://api.github.com/users/emoncms/following{/other_user}","gists_url":"https://api.github.com/users/emoncms/gists{/gist_id}","starred_url":"https://api.github.com/users/emoncms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emoncms/subscriptions","organizations_url":"https://api.github.com/users/emoncms/orgs","repos_url":"https://api.github.com/users/emoncms/repos","events_url":"https://api.github.com/users/emoncms/events{/privacy}","received_events_url":"https://api.github.com/users/emoncms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emoncms/emoncms","description":"Core emoncms bundle: includes: input, feed, vis","fork":false,"url":"https://api.github.com/repos/emoncms/emoncms","forks_url":"https://api.github.com/repos/emoncms/emoncms/forks","keys_url":"https://api.github.com/repos/emoncms/emoncms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emoncms/emoncms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emoncms/emoncms/teams","hooks_url":"https://api.github.com/repos/emoncms/emoncms/hooks","issue_events_url":"https://api.github.com/repos/emoncms/emoncms/issues/events{/number}","events_url":"https://api.github.com/repos/emoncms/emoncms/events","assignees_url":"https://api.github.com/repos/emoncms/emoncms/assignees{/user}","branches_url":"https://api.github.com/repos/emoncms/emoncms/branches{/branch}","tags_url":"https://api.github.com/repos/emoncms/emoncms/tags","blobs_url":"https://api.github.com/repos/emoncms/emoncms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emoncms/emoncms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emoncms/emoncms/git/refs{/sha}","trees_url":"https://api.github.com/repos/emoncms/emoncms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emoncms/emoncms/statuses/{sha}","languages_url":"https://api.github.com/repos/emoncms/emoncms/languages","stargazers_url":"https://api.github.com/repos/emoncms/emoncms/stargazers","contributors_url":"https://api.github.com/repos/emoncms/emoncms/contributors","subscribers_url":"https://api.github.com/repos/emoncms/emoncms/subscribers","subscription_url":"https://api.github.com/repos/emoncms/emoncms/subscription","commits_url":"https://api.github.com/repos/emoncms/emoncms/commits{/sha}","git_commits_url":"https://api.github.com/repos/emoncms/emoncms/git/commits{/sha}","comments_url":"https://api.github.com/repos/emoncms/emoncms/comments{/number}","issue_comment_url":"https://api.github.com/repos/emoncms/emoncms/issues/comments{/number}","contents_url":"https://api.github.com/repos/emoncms/emoncms/contents/{+path}","compare_url":"https://api.github.com/repos/emoncms/emoncms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emoncms/emoncms/merges","archive_url":"https://api.github.com/repos/emoncms/emoncms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emoncms/emoncms/downloads","issues_url":"https://api.github.com/repos/emoncms/emoncms/issues{/number}","pulls_url":"https://api.github.com/repos/emoncms/emoncms/pulls{/number}","milestones_url":"https://api.github.com/repos/emoncms/emoncms/milestones{/number}","notifications_url":"https://api.github.com/repos/emoncms/emoncms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emoncms/emoncms/labels{/name}","releases_url":"https://api.github.com/repos/emoncms/emoncms/releases{/id}","deployments_url":"https://api.github.com/repos/emoncms/emoncms/deployments","created_at":"2012-10-15T20:28:36Z","updated_at":"2016-05-16T10:32:00Z","pushed_at":"2016-05-16T17:00:33Z","git_url":"git://github.com/emoncms/emoncms.git","ssh_url":"git@github.com:emoncms/emoncms.git","clone_url":"https://github.com/emoncms/emoncms.git","svn_url":"https://github.com/emoncms/emoncms","homepage":"http://emoncms.org","size":7746,"stargazers_count":345,"watchers_count":345,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":245,"mirror_url":null,"open_issues_count":32,"forks":245,"open_issues":32,"watchers":345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emoncms/emoncms/pulls/524"},"html":{"href":"https://github.com/emoncms/emoncms/pull/524"},"issue":{"href":"https://api.github.com/repos/emoncms/emoncms/issues/524"},"comments":{"href":"https://api.github.com/repos/emoncms/emoncms/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/emoncms/emoncms/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/emoncms/emoncms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emoncms/emoncms/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/emoncms/emoncms/statuses/5f6621efcef81b516a38e7f24854d717c08e148c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":36,"deletions":7,"changed_files":2}}