Hello, does this code mean if the variable $query contains "cb_session" or if the variable $admin_area is true do that ?
I say because in the code there is not variable $admin_area so it could be deleted the or condition...
if(stristr($query, "cb_sessions") || $admin_area )
$data = $this->Execute($query);
$data = $this->CacheExecute($query);