@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove unused method shouldCopyWhenCreatingSimilarTask()

Summary:
Nothing in the codebase calls or reads this function.

If it was ever used in some implementation of a custom field, then it was likely in context of the `Similar Task` functionality removed in 52f7446eeaa36ee1716fd1ed6e90b26b964e11ac.

Test Plan: Grep the codebase.

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25677

-13
-13
src/applications/maniphest/field/ManiphestCustomField.php
··· 15 15 return new ManiphestCustomFieldNumericIndex(); 16 16 } 17 17 18 - /** 19 - * When the user creates a task, the UI prompts them to "Create another 20 - * similar task". This copies some fields (e.g., Owner and CCs) but not other 21 - * fields (e.g., description). If this custom field should also be copied, 22 - * return true from this method. 23 - * 24 - * @return bool True to copy the default value from the template task when 25 - * creating a new similar task. 26 - */ 27 - public function shouldCopyWhenCreatingSimilarTask() { 28 - return false; 29 - } 30 - 31 18 }