Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13991113
D16756.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
801 B
Referenced Files
None
Subscribers
None
D16756.diff
View Options
diff --git a/src/infrastructure/env/PhabricatorEnv.php b/src/infrastructure/env/PhabricatorEnv.php
--- a/src/infrastructure/env/PhabricatorEnv.php
+++ b/src/infrastructure/env/PhabricatorEnv.php
@@ -202,6 +202,12 @@
phutil_load_library($library);
}
+ // Drop any class map caches, since they will have generated without
+ // any classes from libraries. Without this, preflight setup checks can
+ // cause generation of a setup check cache that omits checks defined in
+ // libraries, for example.
+ PhutilClassMapQuery::deleteCaches();
+
// If custom libraries specify config options, they won't get default
// values as the Default source has already been loaded, so we get it to
// pull in all options from non-phabricator libraries now they are loaded.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 23, 8:52 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719486
Default Alt Text
D16756.diff (801 B)
Attached To
Mode
D16756: In Phabricator, drop PhutilClassMap caches after loading additional libraries
Attached
Detach File
Event Timeline
Log In to Comment