ExtensionsLib now gets the list of installed extensions without using the privileged user

This commit is contained in:
Paolo
2023-04-19 16:07:59 +02:00
parent 5d668791f9
commit 4fcbf1fbbf
+4 -1
View File
@@ -220,7 +220,10 @@ class ExtensionsLib
*/
public function getInstalledExtensions()
{
return $this->_ci->ExtensionsModel->getInstalledExtensions();
// Loading models
$this->_ci->load->model('system/ExtensionsNOPriv_model', 'ExtensionsNOPrivModel');
return $this->_ci->ExtensionsNOPrivModel->getInstalledExtensions();
}
/**