{"action":"created","comment":{"url":"https://api.github.com/repos/Admidio/admidio/pulls/comments/76876546","id":76876546,"diff_hunk":"@@ -685,6 +685,18 @@\n                  , ('.$categoryIdSocialNetworks.', \\'TEXT\\', \\'YAHOO_MESSENGER\\',\\'INS_YAHOO_MESSENGER\\', NULL, \\'yahoo.png\\', NULL, 0, 8, '.$gCurrentUser->getValue('usr_id').',\\''. DATETIME_NOW.'\\') ';\n     $db->query($sql);\n \n+    // create user relation types\n+    $sql = 'INSERT INTO '.TBL_USER_RELATION_TYPES.' (urt_id, urt_name, urt_name_male, urt_name_female, urt_id_inverse, urt_usr_id_create, urt_timestamp_create)\n+            VALUES (1, \\''.$gL10n->get('INS_PARENT').'\\', \\''.$gL10n->get('INS_FATHER').'\\', \\''.$gL10n->get('INS_MOTHER').'\\', 2, '.$gCurrentUser->getValue('usr_id').',\\''. DATETIME_NOW.'\\')\n+                 , (2, \\''.$gL10n->get('INS_CHILD').'\\', \\''.$gL10n->get('INS_SON').'\\', \\''.$gL10n->get('INS_DAUGHTER').'\\', 1, '.$gCurrentUser->getValue('usr_id').',\\''. DATETIME_NOW.'\\')\n+                 , (3, \\''.$gL10n->get('INS_SIBLING').'\\', \\''.$gL10n->get('INS_BROTHER').'\\', \\''.$gL10n->get('INS_SISTER').'\\', 3, '.$gCurrentUser->getValue('usr_id').',\\''. DATETIME_NOW.'\\')\n+                 , (4, \\''.$gL10n->get('INS_SPOUSE').'\\', \\''.$gL10n->get('INS_HUSBAND').'\\', \\''.$gL10n->get('INS_WIFE').'\\', 4, '.$gCurrentUser->getValue('usr_id').',\\''. DATETIME_NOW.'\\')\n+                 , (5, \\''.$gL10n->get('INS_COHABITANT').'\\', \\''.$gL10n->get('INS_COHABITANT_MALE').'\\', \\''.$gL10n->get('INS_COHABITANT_FEMALE').'\\', 5, '.$gCurrentUser->getValue('usr_id').',\\''. DATETIME_NOW.'\\')","path":"adm_program/installation/installation.php","position":10,"original_position":10,"commit_id":"bc6bae89bb0943a013861fa307b2b343d8406e3d","original_commit_id":"bc6bae89bb0943a013861fa307b2b343d8406e3d","user":{"login":"wilddom","id":53584,"avatar_url":"https://avatars.githubusercontent.com/u/53584?v=3","gravatar_id":"","url":"https://api.github.com/users/wilddom","html_url":"https://github.com/wilddom","followers_url":"https://api.github.com/users/wilddom/followers","following_url":"https://api.github.com/users/wilddom/following{/other_user}","gists_url":"https://api.github.com/users/wilddom/gists{/gist_id}","starred_url":"https://api.github.com/users/wilddom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilddom/subscriptions","organizations_url":"https://api.github.com/users/wilddom/orgs","repos_url":"https://api.github.com/users/wilddom/repos","events_url":"https://api.github.com/users/wilddom/events{/privacy}","received_events_url":"https://api.github.com/users/wilddom/received_events","type":"User","site_admin":false},"body":"Not sure about that. Languages are different, some have gender-neutral/gender-specific terms, others don't. Your example doesn't really work in English: `$gL10n->get('INS_COHABITANT_MALE'). '/'. $gL10n->get('INS_COHABITANT_FEMALE')` would result in cohabitant/cohabitant.","created_at":"2016-08-30T20:52:12Z","updated_at":"2016-08-30T20:52:12Z","html_url":"https://github.com/Admidio/admidio/pull/383#discussion_r76876546","pull_request_url":"https://api.github.com/repos/Admidio/admidio/pulls/383","_links":{"self":{"href":"https://api.github.com/repos/Admidio/admidio/pulls/comments/76876546"},"html":{"href":"https://github.com/Admidio/admidio/pull/383#discussion_r76876546"},"pull_request":{"href":"https://api.github.com/repos/Admidio/admidio/pulls/383"}}},"pull_request":{"url":"https://api.github.com/repos/Admidio/admidio/pulls/383","id":82983135,"html_url":"https://github.com/Admidio/admidio/pull/383","diff_url":"https://github.com/Admidio/admidio/pull/383.diff","patch_url":"https://github.com/Admidio/admidio/pull/383.patch","issue_url":"https://api.github.com/repos/Admidio/admidio/issues/383","number":383,"state":"open","locked":false,"title":"Feature userrelations","user":{"login":"wilddom","id":53584,"avatar_url":"https://avatars.githubusercontent.com/u/53584?v=3","gravatar_id":"","url":"https://api.github.com/users/wilddom","html_url":"https://github.com/wilddom","followers_url":"https://api.github.com/users/wilddom/followers","following_url":"https://api.github.com/users/wilddom/following{/other_user}","gists_url":"https://api.github.com/users/wilddom/gists{/gist_id}","starred_url":"https://api.github.com/users/wilddom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilddom/subscriptions","organizations_url":"https://api.github.com/users/wilddom/orgs","repos_url":"https://api.github.com/users/wilddom/repos","events_url":"https://api.github.com/users/wilddom/events{/privacy}","received_events_url":"https://api.github.com/users/wilddom/received_events","type":"User","site_admin":false},"body":"As discussed in #195 \r\n","created_at":"2016-08-27T09:21:18Z","updated_at":"2016-08-30T20:52:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"053063ad15405cabfa0ff519b73670a8b78c3a0d","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Admidio/admidio/milestones/3","html_url":"https://github.com/Admidio/admidio/milestones/v3.2","labels_url":"https://api.github.com/repos/Admidio/admidio/milestones/3/labels","id":1010425,"number":3,"title":"v3.2","description":"The v3.2.x is a LTS version because it would be the last version with support for PHP 5.3-5.5","creator":{"login":"Fasse","id":7038017,"avatar_url":"https://avatars.githubusercontent.com/u/7038017?v=3","gravatar_id":"","url":"https://api.github.com/users/Fasse","html_url":"https://github.com/Fasse","followers_url":"https://api.github.com/users/Fasse/followers","following_url":"https://api.github.com/users/Fasse/following{/other_user}","gists_url":"https://api.github.com/users/Fasse/gists{/gist_id}","starred_url":"https://api.github.com/users/Fasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fasse/subscriptions","organizations_url":"https://api.github.com/users/Fasse/orgs","repos_url":"https://api.github.com/users/Fasse/repos","events_url":"https://api.github.com/users/Fasse/events{/privacy}","received_events_url":"https://api.github.com/users/Fasse/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":24,"state":"open","created_at":"2015-03-07T09:41:31Z","updated_at":"2016-08-29T20:59:03Z","due_on":"2016-11-27T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Admidio/admidio/pulls/383/commits","review_comments_url":"https://api.github.com/repos/Admidio/admidio/pulls/383/comments","review_comment_url":"https://api.github.com/repos/Admidio/admidio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Admidio/admidio/issues/383/comments","statuses_url":"https://api.github.com/repos/Admidio/admidio/statuses/bc6bae89bb0943a013861fa307b2b343d8406e3d","head":{"label":"wilddom:feature-userrelations","ref":"feature-userrelations","sha":"bc6bae89bb0943a013861fa307b2b343d8406e3d","user":{"login":"wilddom","id":53584,"avatar_url":"https://avatars.githubusercontent.com/u/53584?v=3","gravatar_id":"","url":"https://api.github.com/users/wilddom","html_url":"https://github.com/wilddom","followers_url":"https://api.github.com/users/wilddom/followers","following_url":"https://api.github.com/users/wilddom/following{/other_user}","gists_url":"https://api.github.com/users/wilddom/gists{/gist_id}","starred_url":"https://api.github.com/users/wilddom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilddom/subscriptions","organizations_url":"https://api.github.com/users/wilddom/orgs","repos_url":"https://api.github.com/users/wilddom/repos","events_url":"https://api.github.com/users/wilddom/events{/privacy}","received_events_url":"https://api.github.com/users/wilddom/received_events","type":"User","site_admin":false},"repo":{"id":64490148,"name":"admidio","full_name":"wilddom/admidio","owner":{"login":"wilddom","id":53584,"avatar_url":"https://avatars.githubusercontent.com/u/53584?v=3","gravatar_id":"","url":"https://api.github.com/users/wilddom","html_url":"https://github.com/wilddom","followers_url":"https://api.github.com/users/wilddom/followers","following_url":"https://api.github.com/users/wilddom/following{/other_user}","gists_url":"https://api.github.com/users/wilddom/gists{/gist_id}","starred_url":"https://api.github.com/users/wilddom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilddom/subscriptions","organizations_url":"https://api.github.com/users/wilddom/orgs","repos_url":"https://api.github.com/users/wilddom/repos","events_url":"https://api.github.com/users/wilddom/events{/privacy}","received_events_url":"https://api.github.com/users/wilddom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wilddom/admidio","description":"Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.","fork":true,"url":"https://api.github.com/repos/wilddom/admidio","forks_url":"https://api.github.com/repos/wilddom/admidio/forks","keys_url":"https://api.github.com/repos/wilddom/admidio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wilddom/admidio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wilddom/admidio/teams","hooks_url":"https://api.github.com/repos/wilddom/admidio/hooks","issue_events_url":"https://api.github.com/repos/wilddom/admidio/issues/events{/number}","events_url":"https://api.github.com/repos/wilddom/admidio/events","assignees_url":"https://api.github.com/repos/wilddom/admidio/assignees{/user}","branches_url":"https://api.github.com/repos/wilddom/admidio/branches{/branch}","tags_url":"https://api.github.com/repos/wilddom/admidio/tags","blobs_url":"https://api.github.com/repos/wilddom/admidio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wilddom/admidio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wilddom/admidio/git/refs{/sha}","trees_url":"https://api.github.com/repos/wilddom/admidio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wilddom/admidio/statuses/{sha}","languages_url":"https://api.github.com/repos/wilddom/admidio/languages","stargazers_url":"https://api.github.com/repos/wilddom/admidio/stargazers","contributors_url":"https://api.github.com/repos/wilddom/admidio/contributors","subscribers_url":"https://api.github.com/repos/wilddom/admidio/subscribers","subscription_url":"https://api.github.com/repos/wilddom/admidio/subscription","commits_url":"https://api.github.com/repos/wilddom/admidio/commits{/sha}","git_commits_url":"https://api.github.com/repos/wilddom/admidio/git/commits{/sha}","comments_url":"https://api.github.com/repos/wilddom/admidio/comments{/number}","issue_comment_url":"https://api.github.com/repos/wilddom/admidio/issues/comments{/number}","contents_url":"https://api.github.com/repos/wilddom/admidio/contents/{+path}","compare_url":"https://api.github.com/repos/wilddom/admidio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wilddom/admidio/merges","archive_url":"https://api.github.com/repos/wilddom/admidio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wilddom/admidio/downloads","issues_url":"https://api.github.com/repos/wilddom/admidio/issues{/number}","pulls_url":"https://api.github.com/repos/wilddom/admidio/pulls{/number}","milestones_url":"https://api.github.com/repos/wilddom/admidio/milestones{/number}","notifications_url":"https://api.github.com/repos/wilddom/admidio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wilddom/admidio/labels{/name}","releases_url":"https://api.github.com/repos/wilddom/admidio/releases{/id}","deployments_url":"https://api.github.com/repos/wilddom/admidio/deployments","created_at":"2016-07-29T15:17:09Z","updated_at":"2016-08-05T04:53:26Z","pushed_at":"2016-08-28T20:04:20Z","git_url":"git://github.com/wilddom/admidio.git","ssh_url":"git@github.com:wilddom/admidio.git","clone_url":"https://github.com/wilddom/admidio.git","svn_url":"https://github.com/wilddom/admidio","homepage":"http://demo.admidio.org","size":57338,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Admidio:master","ref":"master","sha":"81cb59a6b90d6c303c893210d2465c83efd7ae0e","user":{"login":"Admidio","id":9728353,"avatar_url":"https://avatars.githubusercontent.com/u/9728353?v=3","gravatar_id":"","url":"https://api.github.com/users/Admidio","html_url":"https://github.com/Admidio","followers_url":"https://api.github.com/users/Admidio/followers","following_url":"https://api.github.com/users/Admidio/following{/other_user}","gists_url":"https://api.github.com/users/Admidio/gists{/gist_id}","starred_url":"https://api.github.com/users/Admidio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Admidio/subscriptions","organizations_url":"https://api.github.com/users/Admidio/orgs","repos_url":"https://api.github.com/users/Admidio/repos","events_url":"https://api.github.com/users/Admidio/events{/privacy}","received_events_url":"https://api.github.com/users/Admidio/received_events","type":"Organization","site_admin":false},"repo":{"id":28809173,"name":"admidio","full_name":"Admidio/admidio","owner":{"login":"Admidio","id":9728353,"avatar_url":"https://avatars.githubusercontent.com/u/9728353?v=3","gravatar_id":"","url":"https://api.github.com/users/Admidio","html_url":"https://github.com/Admidio","followers_url":"https://api.github.com/users/Admidio/followers","following_url":"https://api.github.com/users/Admidio/following{/other_user}","gists_url":"https://api.github.com/users/Admidio/gists{/gist_id}","starred_url":"https://api.github.com/users/Admidio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Admidio/subscriptions","organizations_url":"https://api.github.com/users/Admidio/orgs","repos_url":"https://api.github.com/users/Admidio/repos","events_url":"https://api.github.com/users/Admidio/events{/privacy}","received_events_url":"https://api.github.com/users/Admidio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Admidio/admidio","description":"Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.","fork":false,"url":"https://api.github.com/repos/Admidio/admidio","forks_url":"https://api.github.com/repos/Admidio/admidio/forks","keys_url":"https://api.github.com/repos/Admidio/admidio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Admidio/admidio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Admidio/admidio/teams","hooks_url":"https://api.github.com/repos/Admidio/admidio/hooks","issue_events_url":"https://api.github.com/repos/Admidio/admidio/issues/events{/number}","events_url":"https://api.github.com/repos/Admidio/admidio/events","assignees_url":"https://api.github.com/repos/Admidio/admidio/assignees{/user}","branches_url":"https://api.github.com/repos/Admidio/admidio/branches{/branch}","tags_url":"https://api.github.com/repos/Admidio/admidio/tags","blobs_url":"https://api.github.com/repos/Admidio/admidio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Admidio/admidio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Admidio/admidio/git/refs{/sha}","trees_url":"https://api.github.com/repos/Admidio/admidio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Admidio/admidio/statuses/{sha}","languages_url":"https://api.github.com/repos/Admidio/admidio/languages","stargazers_url":"https://api.github.com/repos/Admidio/admidio/stargazers","contributors_url":"https://api.github.com/repos/Admidio/admidio/contributors","subscribers_url":"https://api.github.com/repos/Admidio/admidio/subscribers","subscription_url":"https://api.github.com/repos/Admidio/admidio/subscription","commits_url":"https://api.github.com/repos/Admidio/admidio/commits{/sha}","git_commits_url":"https://api.github.com/repos/Admidio/admidio/git/commits{/sha}","comments_url":"https://api.github.com/repos/Admidio/admidio/comments{/number}","issue_comment_url":"https://api.github.com/repos/Admidio/admidio/issues/comments{/number}","contents_url":"https://api.github.com/repos/Admidio/admidio/contents/{+path}","compare_url":"https://api.github.com/repos/Admidio/admidio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Admidio/admidio/merges","archive_url":"https://api.github.com/repos/Admidio/admidio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Admidio/admidio/downloads","issues_url":"https://api.github.com/repos/Admidio/admidio/issues{/number}","pulls_url":"https://api.github.com/repos/Admidio/admidio/pulls{/number}","milestones_url":"https://api.github.com/repos/Admidio/admidio/milestones{/number}","notifications_url":"https://api.github.com/repos/Admidio/admidio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Admidio/admidio/labels{/name}","releases_url":"https://api.github.com/repos/Admidio/admidio/releases{/id}","deployments_url":"https://api.github.com/repos/Admidio/admidio/deployments","created_at":"2015-01-05T11:03:46Z","updated_at":"2016-07-23T08:26:05Z","pushed_at":"2016-08-30T12:39:49Z","git_url":"git://github.com/Admidio/admidio.git","ssh_url":"git@github.com:Admidio/admidio.git","clone_url":"https://github.com/Admidio/admidio.git","svn_url":"https://github.com/Admidio/admidio","homepage":"http://demo.admidio.org","size":60578,"stargazers_count":18,"watchers_count":18,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":93,"forks":10,"open_issues":93,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Admidio/admidio/pulls/383"},"html":{"href":"https://github.com/Admidio/admidio/pull/383"},"issue":{"href":"https://api.github.com/repos/Admidio/admidio/issues/383"},"comments":{"href":"https://api.github.com/repos/Admidio/admidio/issues/383/comments"},"review_comments":{"href":"https://api.github.com/repos/Admidio/admidio/pulls/383/comments"},"review_comment":{"href":"https://api.github.com/repos/Admidio/admidio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Admidio/admidio/pulls/383/commits"},"statuses":{"href":"https://api.github.com/repos/Admidio/admidio/statuses/bc6bae89bb0943a013861fa307b2b343d8406e3d"}}}}
{"actor":{"display_login":"wilddom"}}