getCore()->clear(); // destroy backups foreach ($image->getBackups() as $backup) { $backup->clear(); } return true; } }