~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to phabricator/src/applications/differential/storage/DifferentialInlineComment.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-06-13 10:52:10 UTC
  • mfrom: (0.30.1) (0.29.1) (0.17.4) (2.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20150613105210-5uirr7tvnk0n6e6y
Tags: 0~git20150613-1
* New snapshot release (closes: #787805)
* fixed typo in logrotate script (closes: #787645)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
      ->setViewPolicy('public')
25
25
      ->setEditPolicy($this->getAuthorPHID())
26
26
      ->setContentSource($content_source)
 
27
      ->attachIsHidden(false)
27
28
      ->setCommentVersion(1);
28
29
 
29
30
    return $this->proxy;
49
50
    return $this;
50
51
  }
51
52
 
 
53
  public function supportsHiding() {
 
54
    if ($this->getSyntheticAuthor()) {
 
55
      return false;
 
56
    }
 
57
    return true;
 
58
  }
 
59
 
 
60
  public function isHidden() {
 
61
    if (!$this->supportsHiding()) {
 
62
      return false;
 
63
    }
 
64
    return $this->proxy->getIsHidden();
 
65
  }
 
66
 
52
67
  public function getID() {
53
68
    return $this->proxy->getID();
54
69
  }