Revert "Bug #8937: Extension setup functions not called on server resets"
This reverts commit 5e946dd853
.
The devPrivates rework makes this workaround unnecessary.
This commit is contained in:
parent
8a244c2bc0
commit
4be69e41c0
|
@ -739,16 +739,6 @@ InitExtensions(argc, argv)
|
||||||
/* Sort the extensions according the init dependencies. */
|
/* Sort the extensions according the init dependencies. */
|
||||||
LoaderSortExtensions();
|
LoaderSortExtensions();
|
||||||
listInitialised = TRUE;
|
listInitialised = TRUE;
|
||||||
} else {
|
|
||||||
/* Call the setup functions on subsequent server resets as well */
|
|
||||||
for (i = 0; ExtensionModuleList[i].name != NULL; i++) {
|
|
||||||
ext = &ExtensionModuleList[i];
|
|
||||||
if (ext->setupFunc != NULL &&
|
|
||||||
(ext->disablePtr == NULL ||
|
|
||||||
(ext->disablePtr != NULL && !*ext->disablePtr))) {
|
|
||||||
(ext->setupFunc)();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; ExtensionModuleList[i].name != NULL; i++) {
|
for (i = 0; ExtensionModuleList[i].name != NULL; i++) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user