$dups]); $rr = tableAddConstraint('clientlog', 'machineuuid', 'machine', 'machineuuid', 'ON DELETE SET NULL ON UPDATE CASCADE'); } } $res[] = $rr; } elseif (Module::get('statistics') !== false) { $res[] = UPDATE_RETRY; } // Create response for browser if (in_array(UPDATE_DONE, $res)) { finalResponse(UPDATE_DONE, 'Tables created successfully'); } finalResponse(UPDATE_NOOP, 'Everything already up to date');