Page MenuHomePhabricator
Paste P987

Workers having hard time updating JIRA
ArchivedPublic

Authored by avivey on Nov 12 2013, 12:56 AM.
Tags
None
Referenced Files
F80987: Workers_having_hard_time_updating_JIRA
Nov 12 2013, 12:56 AM
Subscribers
None
require_once dirname(__FILE__).'/../phabricator/scripts/__init_script__.php';
$user = new PhabricatorUser();
$q = new DiffusionCommitQuery();
$q->setViewer($user);
var_dump($q->canViewerUseQueryApplication()) ;
// https://secure.phabricator.com/diffusion/P/browse/master/src/applications/feed/story/PhabricatorFeedStoryDifferential.php;62794e4494e0180f2fc3e62e7840099521f8ae5c$102

Event Timeline

avivey changed the title of this paste from untitled to Workers having hard time updating JIRA.
avivey updated the paste's language from autodetect to php.