Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14040340
D16030.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
694 B
Referenced Files
None
Subscribers
None
D16030.diff
View Options
diff --git a/src/applications/settings/setting/PhabricatorDarkConsoleSetting.php b/src/applications/settings/setting/PhabricatorDarkConsoleSetting.php
--- a/src/applications/settings/setting/PhabricatorDarkConsoleSetting.php
+++ b/src/applications/settings/setting/PhabricatorDarkConsoleSetting.php
@@ -42,5 +42,17 @@
);
}
+ public function expandSettingTransaction($object, $xaction) {
+ // If the user has hidden the DarkConsole UI, forget their setting when
+ // they enable or disable it.
+ return array(
+ $xaction,
+ $this->newSettingTransaction(
+ $object,
+ PhabricatorDarkConsoleVisibleSetting::SETTINGKEY,
+ 1),
+ );
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 12, 9:22 AM (6 d, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718898
Default Alt Text
D16030.diff (694 B)
Attached To
Mode
D16030: When a user enables/disables DarkConsole, forget their console UI visibility setting
Attached
Detach File
Event Timeline
Log In to Comment