Page MenuHomePhabricator

D15117.diff
No OneTemporary

D15117.diff

diff --git a/src/applications/project/engine/PhabricatorProjectProfilePanelEngine.php b/src/applications/project/engine/PhabricatorProjectProfilePanelEngine.php
--- a/src/applications/project/engine/PhabricatorProjectProfilePanelEngine.php
+++ b/src/applications/project/engine/PhabricatorProjectProfilePanelEngine.php
@@ -3,6 +3,10 @@
final class PhabricatorProjectProfilePanelEngine
extends PhabricatorProfilePanelEngine {
+ protected function isPanelEngineConfigurable() {
+ return true;
+ }
+
protected function getPanelURI($path) {
$project = $this->getProfileObject();
$id = $project->getID();
diff --git a/src/applications/search/engine/PhabricatorProfilePanelEngine.php b/src/applications/search/engine/PhabricatorProfilePanelEngine.php
--- a/src/applications/search/engine/PhabricatorProfilePanelEngine.php
+++ b/src/applications/search/engine/PhabricatorProfilePanelEngine.php
@@ -49,9 +49,7 @@
abstract protected function getPanelURI($path);
- protected function isPanelEngineConfigurable() {
- return PhabricatorEnv::getEnvConfig('phabricator.show-prototypes');
- }
+ abstract protected function isPanelEngineConfigurable();
public function buildResponse() {
$controller = $this->getController();

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 2:36 AM (18 h, 11 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6920312
Default Alt Text
D15117.diff (1 KB)

Event Timeline