Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1098206
D533.id.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
Wed, Aug 13, 11:33 AM
Size
600 B
Mime Type
text/x-diff
Expires
Thu, Aug 14, 11:33 AM (15 h, 13 m)
Engine
blob
Format
Raw Data
Handle
707538
Attached To
D533: INP-1919 Reset unit config cache after Module Root Category change
D533.id.diff
View Options
Index: branches/5.2.x/core/units/configuration/configuration_event_handler.php
===================================================================
--- branches/5.2.x/core/units/configuration/configuration_event_handler.php
+++ branches/5.2.x/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