$row['entryid']]); } else { Database::exec("UPDATE serversetup_bootentry SET module = '.exec' WHERE entryid = :id", ['id' => $row['entryid']]); } } // Just to be safe Database::simpleQuery('DELETE FROM serversetup_bootentry WHERE module IS NULL'); if (Database::exec("ALTER TABLE serversetup_bootentry MODIFY `module` varchar(30) CHARACTER SET ascii NOT NULL") !== false) { $result[] = UPDATE_DONE; } else { $result[] = UPDATE_FAILED; } } if (Module::isAvailable('serversetup')) { IPxe::createDefaultEntries(); } responseFromArray($result);