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

« back to all changes in this revision

Viewing changes to phabricator/src/applications/phlux/editor/PhluxVariableEditor.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-05-25 22:45:19 UTC
  • mfrom: (0.29.1) (0.28.1) (0.27.1) (9.1.1 wily)
  • Revision ID: package-import@ubuntu.com-20150525224519-x791swte8e0ndv8c
Tags: 0~git20150525-1
* New snapshot release
* fix update postinst when using nginx (closes: #784221)

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
      case PhluxTransaction::TYPE_EDIT_VALUE:
55
55
        $object->setVariableValue($xaction->getNewValue());
56
56
        return;
57
 
      case PhabricatorTransactions::TYPE_VIEW_POLICY:
58
 
        $object->setViewPolicy($xaction->getNewValue());
59
 
        return;
60
 
      case PhabricatorTransactions::TYPE_EDIT_POLICY:
61
 
        $object->setEditPolicy($xaction->getNewValue());
62
 
        return;
63
57
    }
64
58
    return parent::applyCustomInternalTransaction($object, $xaction);
65
59
  }
70
64
    switch ($xaction->getTransactionType()) {
71
65
      case PhluxTransaction::TYPE_EDIT_KEY:
72
66
      case PhluxTransaction::TYPE_EDIT_VALUE:
73
 
      case PhabricatorTransactions::TYPE_VIEW_POLICY:
74
 
      case PhabricatorTransactions::TYPE_EDIT_POLICY:
75
67
        return;
76
68
    }
77
69
    return parent::applyCustomExternalTransaction($object, $xaction);