Skip to content

Commit

Permalink
Fixed more orphaned database rows after deleting a computer.
Browse files Browse the repository at this point in the history
  • Loading branch information
hschletz committed Oct 25, 2015
1 parent 8b09093 commit db12282
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/models/Computer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1517,13 +1517,15 @@ public function delete($reuseLock=false, $equivalent=null, $deleteInterfaces=fal
// Additional tables without associated Model_ChildObject class
$tables[] = 'accountinfo';
$tables[] = 'bios';
$tables[] = 'cpus';
$tables[] = 'devices';
$tables[] = 'download_history';
$tables[] = 'download_servers';
$tables[] = 'groups_cache';
$tables[] = 'itmgmt_comments';
$tables[] = 'javainfo';
$tables[] = 'journallog';
$tables[] = 'sim';
if (Model_Database::supportsManualProductKey()) {
$tables[] = 'braintacle_windows';
}
Expand Down

0 comments on commit db12282

Please sign in to comment.