mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
removed caching as it creates problems with datasource updates in projectmanager (datasource reads infolog content from an instance with a not updated cache, causing updates only to happen after clicking on [apply] twice)
This commit is contained in:
parent
ecb7c1c71e
commit
aa98086578
@ -345,10 +345,6 @@ class infolog_so
|
|||||||
function read($info_id) // did _not_ ensure ACL
|
function read($info_id) // did _not_ ensure ACL
|
||||||
{
|
{
|
||||||
//echo "<p>read($info_id) ".function_backtrace()."</p>\n";
|
//echo "<p>read($info_id) ".function_backtrace()."</p>\n";
|
||||||
if ($info_id && ((int)$info_id == $this->data['info_id'] || $info_id == $this->data['info_uid']))
|
|
||||||
{
|
|
||||||
return $this->data; // return the already read entry
|
|
||||||
}
|
|
||||||
if (!$info_id || !$this->db->select($this->info_table,'*',
|
if (!$info_id || !$this->db->select($this->info_table,'*',
|
||||||
$this->db->expression($this->info_table,array('info_id'=>$info_id),' OR ',array('info_uid'=>$info_id)),__LINE__,__FILE__) ||
|
$this->db->expression($this->info_table,array('info_id'=>$info_id),' OR ',array('info_uid'=>$info_id)),__LINE__,__FILE__) ||
|
||||||
!(($this->data = $this->db->row(true))))
|
!(($this->data = $this->db->row(true))))
|
||||||
|
Loading…
Reference in New Issue
Block a user