Disable any component/module/plugin in extension manager
The extension namespaces are removed from /administrator/cache/autoload_psr4.php
Namespaces are kept
Joomla 4.0.2
Same if delete autoload file: it's re-created but includes the namespaces of disabled extensions.
Labels |
Added:
No Code Attached Yet
|
Title |
|
You are only Disabling the extension, not uninstalling it right?
Just because something is "disabled" in extension manager, doesnt mean it will not contain code that can and will run...
I would say this is normal and expected behaviour.
Sounds good for me now.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-09-10 11:21:19 |
Closed_By | ⇒ | Denitz |
Actually it's a problem because
/administrator/cache/autoload_psr4.php
is auto-created before the app initialization , is it logical to use theFactory::getDbo()
inJNamespacePsr4Map
class?We can query the database and load the list of enabled extensions.