Page MenuHomePhabricator

D16030.id.diff
No OneTemporary

D16030.id.diff

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

Mime Type
text/plain
Expires
Wed, Oct 23, 3:49 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718898
Default Alt Text
D16030.id.diff (694 B)

Event Timeline