Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1102273
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
Mon, Aug 18, 2:59 PM
Size
600 B
Mime Type
text/x-diff
Expires
Tue, Aug 19, 2:59 PM (5 h, 13 m)
Engine
blob
Format
Raw Data
Handle
714058
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