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

« back to all changes in this revision

Viewing changes to phabricator/src/applications/pholio/storage/PholioMock.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:
49
49
    return 'M'.$this->getID();
50
50
  }
51
51
 
52
 
  public function getConfiguration() {
 
52
  protected function getConfiguration() {
53
53
    return array(
54
54
      self::CONFIG_AUX_PHID => true,
55
55
      self::CONFIG_COLUMN_SCHEMA => array(
264
264
    return new PholioTransaction();
265
265
  }
266
266
 
 
267
  public function willRenderTimeline(
 
268
    PhabricatorApplicationTransactionView $timeline,
 
269
    AphrontRequest $request) {
 
270
 
 
271
    PholioMockQuery::loadImages(
 
272
      $request->getUser(),
 
273
      array($this),
 
274
      $need_inline_comments = true);
 
275
    $timeline->setMock($this);
 
276
    return $timeline;
 
277
  }
267
278
 
268
279
/* -(  PhabricatorTokenReceiverInterface  )---------------------------------- */
269
280