static function deleteRegistryKeys($computers_id) { $key = new RegistryKey(); $key->deleteByCriteria(array('computers_id' => $computers_id)); }