mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
Removed problematic cache from e107plugin::getinfo()
Every known usage of e107plugin::getinfo() requires up-to-date knowledge of the involved plugin's record in the database. For this reason, I removed the object scope global state caching of results from e107plugin::getinfo() Also changed the method name to a more descriptive getPluginRecord() Also made e107plugin::getPluginRecord() static
This commit is contained in:
@@ -845,7 +845,7 @@ final class e_core_pref extends e_pref
|
||||
parent::__construct($pref_id, $pref_alias);
|
||||
if($load && $pref_id)
|
||||
{
|
||||
$this->load();
|
||||
$this->load($pref_id, $load);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user