Page MenuHomePhabricator

Fix incorrect check for CAN_EDIT in macro enable/disable controller
ClosedPublic

Authored by epriestley on Nov 10 2013, 12:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 9, 2:11 PM
Unknown Object (File)
Sun, Dec 8, 3:44 AM
Unknown Object (File)
Wed, Dec 4, 5:51 PM
Unknown Object (File)
Sun, Dec 1, 5:28 AM
Unknown Object (File)
Sat, Nov 30, 8:01 AM
Unknown Object (File)
Wed, Nov 27, 11:45 AM
Unknown Object (File)
Sat, Nov 23, 7:05 AM
Unknown Object (File)
Nov 19 2024, 6:28 AM
Subscribers

Details

Summary

This CAN_EDIT capability doesn't exist. PhabricatorMacroCapabilityManage::CAPABILITY (checked on line 15) is used instead.

Test Plan

Disabled, then re-enabled a macro.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Tested this and it works.