GitHub PullRequestReviewCommentEvent at 2014-05-07 17:02:12
Repository: dolibarr-resource
Actor: rdoursenaud
Payload: {"comment":{"url":"https://api.github.com/repos/GPCsolutions/dolibarr-resource/pulls/comments/12388630","id":12388630,"diff_hunk":"@@ -183,6 +183,12 @@ public function run_trigger($action, $object, $user, $langs, $conf)\n \t\t\tcase 'ACTION_RESOURCE_DELETE':\n \t\t\t\t$this->logTrigger($action, $object->id);\n \t\t\t\t// TODO: don't allow deleting resources on eventtasks\n+\t\t\tcase 'PROJECT_DELETE':\n+\t\t\t\t//TODO : This should be done by task deletion into project delete method, \n+\t\t\t\t//but into delete project methods tasks are delete by sql query and not by task delete class method\n+\t\t\t\t$this->logTrigger($action, $object->id);\n+\t\t\t\t$this->_project = $object;","path":"core/triggers/interface_50_modResource_TaskEvents.class.php","position":8,"original_position":8,"commit_id":"fd68dc09cce275f3ae708d3acb126ad9747a8735","original_commit_id":"fd68dc09cce275f3ae708d3acb126ad9747a8735","user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?","gravatar_id":"6a7f625d44be364b3cd6a4f8a47cb061","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"body":"Had it at my fingetips and couldn't resist. Sorry :/","created_at":"2014-05-07T17:02:12Z","updated_at":"2014-05-07T17:02:12Z","html_url":"https://github.com/GPCsolutions/dolibarr-resource/pull/7#discussion_r12388630","pull_request_url":"https://api.github.com/repos/GPCsolutions/dolibarr-resource/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/GPCsolutions/dolibarr-resource/pulls/comments/12388630"},"html":{"href":"https://github.com/GPCsolutions/dolibarr-resource/pull/7#discussion_r12388630"},"pull_request":{"href":"https://api.github.com/repos/GPCsolutions/dolibarr-resource/pulls/7"}}}}