Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1167417
D533.id1361.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 23, 11:51 AM
Size
555 B
Mime Type
text/x-diff
Expires
Wed, Sep 24, 11:51 AM (8 h, 52 m)
Engine
blob
Format
Raw Data
Handle
756180
Attached To
D533: INP-1919 Reset unit config cache after Module Root Category change
D533.id1361.diff
View Options
Index: core/units/configuration/configuration_event_handler.php
===================================================================
--- core/units/configuration/configuration_event_handler.php
+++ core/units/configuration/configuration_event_handler.php
@@ -414,6 +414,7 @@
// root category differs from one in db
$fields_hash = Array ('RootCat' => $new_category_id);
$this->Conn->doUpdate($fields_hash, TABLE_PREFIX . 'Modules', 'Name = ' . $this->Conn->qstr($module));
+ $this->Application->DeleteUnitCache();
}
}
Event Timeline
Log In to Comment