From aa98086578ac43a0520cab80301d8e8dc100fe57 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Nov 2009 14:04:31 +0000 Subject: [PATCH] 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) --- infolog/inc/class.infolog_so.inc.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/infolog/inc/class.infolog_so.inc.php b/infolog/inc/class.infolog_so.inc.php index f5e097687f..2a04ec774e 100644 --- a/infolog/inc/class.infolog_so.inc.php +++ b/infolog/inc/class.infolog_so.inc.php @@ -345,10 +345,6 @@ class infolog_so function read($info_id) // did _not_ ensure ACL { //echo "

read($info_id) ".function_backtrace()."

\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,'*', $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))))