MM-13312 Prevent clobbering of new fields by old plugins. (#10087)
* Prevent clobbering of new fields by old plugins. * Apply suggestions from code review Spelling and copy paste error. Co-Authored-By: crspeller <crspeller@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
97bd145fa3
Коммит
c208de7c44
@@ -397,6 +397,8 @@ func removeExcluded(info *PluginInterfaceInfo) *PluginInterfaceInfo {
|
||||
"LoadPluginConfiguration",
|
||||
"ServeHTTP",
|
||||
"FileWillBeUploaded",
|
||||
"MessageWillBePosted",
|
||||
"MessageWillBeUpdated",
|
||||
}
|
||||
for _, exclusion := range excluded {
|
||||
if exclusion == item {
|
||||
|
||||
Ссылка в новой задаче
Block a user