filename); $arr_use_flags[$type] = $u->getUseFlags(); $keys = array_keys($arr_use_flags[$type]); $dbmtime = new DBMtime($u->filename); if(is_null($dbmtime->mtime)) { $dbmtime->mtime = $dbmtime->filemtime; } elseif($filemtime > $dbmtime->mtime) { $dbmtime->mtime = $filemtime; } foreach($arr_use_flags[$type] as $cp => $arr_package_use_flags) { $sql = "SELECT package FROM view_package WHERE cp = ".$db->quote($cp).";"; $package = $db->getOne($sql); foreach($arr_package_use_flags as $name => $arr) { extract($arr); $dbuse = new DBUse($name, 'local', $cp); $dbpackage_use = new DBPackageUse($package, $dbuse->id); if($dbpackage_use->description != $description) $dbpackage_use->description = $description; } } ?>