GitHub PullRequestReviewCommentEvent at 2014-04-10 15:33:53
Repository: dynacase-core
Actor: eguaj
Payload: {"comment":{"url":"https://api.github.com/repos/Anakeen/dynacase-core/pulls/comments/11490810","id":11490810,"diff_hunk":"@@ -22,11 +22,10 @@ function fdl_setusertag(Action & $action)\n     $tagName = $usage->addRequiredParameter(\"tag\", \"tag name\");\n     $tagValue = $usage->addOptionalParameter(\"value\", \"tag value\");\n     $usage->verify();\n-    $dbaccess = $action->dbaccess;\n     \n     if (!is_numeric($docid)) $docid = \\Dcp\\DocManager::getIdFromName($docid);\n     if (intval($docid) == 0) $action->exitError(sprintf(_(\"unknow logical reference '%s'\") , $docid));\n-    $doc = new_Doc($dbaccess, $docid);\n+    $doc = \\Dcp\\DocManager::getDocument($docid, false);\n     if (!$doc->isAffected()) $action->exitError(sprintf(_(\"cannot see unknow reference %s\") , $docid));","path":"Action/Fdl/fdl_setusertag.php","position":10,"original_position":10,"commit_id":"3645a7be0a2359ca1f20baea8d9bae66619cb4e7","original_commit_id":"3645a7be0a2359ca1f20baea8d9bae66619cb4e7","user":{"login":"eguaj","id":462583,"avatar_url":"https://avatars.githubusercontent.com/u/462583?","gravatar_id":"cfd52602df1a27ed1810b5ff1ef2e9a3","url":"https://api.github.com/users/eguaj","html_url":"https://github.com/eguaj","followers_url":"https://api.github.com/users/eguaj/followers","following_url":"https://api.github.com/users/eguaj/following{/other_user}","gists_url":"https://api.github.com/users/eguaj/gists{/gist_id}","starred_url":"https://api.github.com/users/eguaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eguaj/subscriptions","organizations_url":"https://api.github.com/users/eguaj/orgs","repos_url":"https://api.github.com/users/eguaj/repos","events_url":"https://api.github.com/users/eguaj/events{/privacy}","received_events_url":"https://api.github.com/users/eguaj/received_events","type":"User","site_admin":false},"body":"    if (!$doc || !$doc->isAffected()) …","created_at":"2014-04-10T15:33:53Z","updated_at":"2014-04-10T15:33:53Z","html_url":"https://github.com/Anakeen/dynacase-core/pull/1142#discussion_r11490810","pull_request_url":"https://api.github.com/repos/Anakeen/dynacase-core/pulls/1142","_links":{"self":{"href":"https://api.github.com/repos/Anakeen/dynacase-core/pulls/comments/11490810"},"html":{"href":"https://github.com/Anakeen/dynacase-core/pull/1142#discussion_r11490810"},"pull_request":{"href":"https://api.github.com/repos/Anakeen/dynacase-core/pulls/1142"}}}}