Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14394863
D15117.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15117.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15117: Make project menus unconditionally configurable
Attached
Detach File
Event Timeline
Log In to Comment