r2062 + implement RackCode parse tree caching and save roughly 3 seconds delay per...
[racktables] / inc / ophandlers.php
index 0dcc471513c4d05a09458d8946f271277b935fc8..960ad9f30e87a56801d60be12cb84b7c21e58684 100644 (file)
@@ -1271,6 +1271,7 @@ function saveRackCode ()
        $parseTree = getRackCode ($newcode);
        if ($parseTree['result'] != 'ACK')
                return buildRedirectURL_ERR ('Verification failed: ' . $parseTree['load']);
+       saveScript ('RackCodeCache', '');
        if (saveScript ('RackCode', $newcode))
                return buildRedirectURL_OK ('Saved successfully.');
        else