function get_size($data) { $size = parent::get_size($data); /*XXX Caeies : Not sure about this, but ... */ /* If the virtual size is always 4096, we don't need this ... */ /* if($data['checksubdirs']) { $query = $GLOBALS['phpgw']->db->query("SELECT size FROM phpgw_vfs WHERE directory='".$p->fake_leading_dirs_clean."' AND name='".$p->fake_name_clean."'" . $this->extra_sql(array('query_text' => VFS_SQL_SELECT))); $GLOBALS['phpgw']->db->next_record(); $size += $GLOBALS['phpgw']->db->Record[0]; } */ return $size; }