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

« back to all changes in this revision

Viewing changes to phabricator/src/applications/harbormaster/storage/configuration/HarbormasterBuildPlan.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-01-29 00:15:58 UTC
  • mfrom: (0.14.1) (0.13.1) (0.10.2) (2.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20150129001558-7qklhtcc043y9mog
Tags: 0~git20150129-1
* New snapshot release
* restricted access to local config file (closes: #775479)
* moved local config file to /var/lib/phabricator (closes: #775478)
* switched mysql-server dependency to recommends (closes: #773536)
* use /run instead of /var/run (closes: #775803)
* prevent package reinstall from overwritting local changes (closes: #776288)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
final class HarbormasterBuildPlan extends HarbormasterDAO
4
4
  implements
 
5
    PhabricatorApplicationTransactionInterface,
5
6
    PhabricatorPolicyInterface,
6
7
    PhabricatorSubscribableInterface {
7
8
 
18
19
      ->setPlanStatus(self::STATUS_ACTIVE);
19
20
  }
20
21
 
21
 
  public function getConfiguration() {
 
22
  protected function getConfiguration() {
22
23
    return array(
23
24
      self::CONFIG_AUX_PHID => true,
24
25
      self::CONFIG_COLUMN_SCHEMA => array(
69
70
  }
70
71
 
71
72
 
 
73
/* -(  PhabricatorApplicationTransactionInterface  )------------------------- */
 
74
 
 
75
 
 
76
  public function getApplicationTransactionEditor() {
 
77
    return new HarbormasterBuildPlanEditor();
 
78
  }
 
79
 
 
80
  public function getApplicationTransactionObject() {
 
81
    return $this;
 
82
  }
 
83
 
 
84
  public function getApplicationTransactionTemplate() {
 
85
    return new HarbormasterBuildPlanTransaction();
 
86
  }
 
87
 
 
88
  public function willRenderTimeline(
 
89
    PhabricatorApplicationTransactionView $timeline,
 
90
    AphrontRequest $request) {
 
91
 
 
92
    return $timeline;
 
93
  }
 
94
 
 
95
 
72
96
/* -(  PhabricatorPolicyInterface  )----------------------------------------- */
73
97
 
74
98