Page MenuHomePhabricator

D17506.id42099.diff
No OneTemporary

D17506.id42099.diff

diff --git a/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php b/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php
--- a/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php
+++ b/src/applications/config/management/PhabricatorConfigManagementSetWorkflow.php
@@ -158,6 +158,10 @@
$config_type = 'database';
$config_entry = PhabricatorConfigEntry::loadConfigEntry($key);
$config_entry->setValue($value);
+
+ // If the entry has been deleted, resurrect it.
+ $config_entry->setIsDeleted(0);
+
$config_entry->save();
} else {
$config_type = 'local';

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 21, 3:33 PM (2 w, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7227695
Default Alt Text
D17506.id42099.diff (678 B)

Event Timeline