@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 obsolete Dashboard panel methods with no callsites

Summary: Ref T13272. Since the move to EditEngine, these methods have no callsites.

Test Plan: `grep`

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13272

Differential Revision: https://secure.phabricator.com/D20484

-34
-7
src/applications/dashboard/paneltype/PhabricatorDashboardPanelType.php
··· 12 12 PhabricatorDashboardPanel $panel, 13 13 PhabricatorDashboardPanelRenderingEngine $engine); 14 14 15 - public function initializeFieldsFromRequest( 16 - PhabricatorDashboardPanel $panel, 17 - PhabricatorCustomFieldList $field_list, 18 - AphrontRequest $request) { 19 - return; 20 - } 21 - 22 15 /** 23 16 * Should this panel pull content in over AJAX? 24 17 *
-27
src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
··· 55 55 ); 56 56 } 57 57 58 - public function initializeFieldsFromRequest( 59 - PhabricatorDashboardPanel $panel, 60 - PhabricatorCustomFieldList $field_list, 61 - AphrontRequest $request) { 62 - 63 - $map = array(); 64 - if (strlen($request->getStr('engine'))) { 65 - $map['class'] = $request->getStr('engine'); 66 - } 67 - 68 - if (strlen($request->getStr('query'))) { 69 - $map['key'] = $request->getStr('query'); 70 - } 71 - 72 - $full_map = array(); 73 - foreach ($map as $key => $value) { 74 - $full_map["std:dashboard:core:{$key}"] = $value; 75 - } 76 - 77 - foreach ($field_list->getFields() as $field) { 78 - $field_key = $field->getFieldKey(); 79 - if (isset($full_map[$field_key])) { 80 - $field->setValueFromStorage($full_map[$field_key]); 81 - } 82 - } 83 - } 84 - 85 58 public function renderPanelContent( 86 59 PhabricatorUser $viewer, 87 60 PhabricatorDashboardPanel $panel,