Page MenuHomePhabricator

D20484.diff
No OneTemporary

D20484.diff

diff --git a/src/applications/dashboard/paneltype/PhabricatorDashboardPanelType.php b/src/applications/dashboard/paneltype/PhabricatorDashboardPanelType.php
--- a/src/applications/dashboard/paneltype/PhabricatorDashboardPanelType.php
+++ b/src/applications/dashboard/paneltype/PhabricatorDashboardPanelType.php
@@ -12,13 +12,6 @@
PhabricatorDashboardPanel $panel,
PhabricatorDashboardPanelRenderingEngine $engine);
- public function initializeFieldsFromRequest(
- PhabricatorDashboardPanel $panel,
- PhabricatorCustomFieldList $field_list,
- AphrontRequest $request) {
- return;
- }
-
/**
* Should this panel pull content in over AJAX?
*
diff --git a/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php b/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
--- a/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
+++ b/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php
@@ -55,33 +55,6 @@
);
}
- public function initializeFieldsFromRequest(
- PhabricatorDashboardPanel $panel,
- PhabricatorCustomFieldList $field_list,
- AphrontRequest $request) {
-
- $map = array();
- if (strlen($request->getStr('engine'))) {
- $map['class'] = $request->getStr('engine');
- }
-
- if (strlen($request->getStr('query'))) {
- $map['key'] = $request->getStr('query');
- }
-
- $full_map = array();
- foreach ($map as $key => $value) {
- $full_map["std:dashboard:core:{$key}"] = $value;
- }
-
- foreach ($field_list->getFields() as $field) {
- $field_key = $field->getFieldKey();
- if (isset($full_map[$field_key])) {
- $field->setValueFromStorage($full_map[$field_key]);
- }
- }
- }
-
public function renderPanelContent(
PhabricatorUser $viewer,
PhabricatorDashboardPanel $panel,

File Metadata

Mime Type
text/plain
Expires
Mon, May 13, 10:36 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6276776
Default Alt Text
D20484.diff (1 KB)

Event Timeline