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

« back to all changes in this revision

Viewing changes to phabricator/src/applications/macro/controller/PhabricatorMacroEditController.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-06-13 10:52:10 UTC
  • mfrom: (0.35.1) (0.34.1) (0.27.2) (9.1.2 wily)
  • Revision ID: package-import@ubuntu.com-20150613105210-jysis8natyi5l3np
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:
141
141
 
142
142
          if ($new_name !== null) {
143
143
            $xactions[] = id(new PhabricatorMacroTransaction())
144
 
              ->setTransactionType(PhabricatorMacroTransactionType::TYPE_NAME)
 
144
              ->setTransactionType(PhabricatorMacroTransaction::TYPE_NAME)
145
145
              ->setNewValue($new_name);
146
146
          }
147
147
 
148
148
          if ($file) {
149
149
            $xactions[] = id(new PhabricatorMacroTransaction())
150
 
              ->setTransactionType(PhabricatorMacroTransactionType::TYPE_FILE)
 
150
              ->setTransactionType(PhabricatorMacroTransaction::TYPE_FILE)
151
151
              ->setNewValue($file->getPHID());
152
152
          }
153
153