Commit c4d5798b authored by Estéban Ristich's avatar Estéban Ristich
Browse files

Fix Issue #62 Rename SQL function recipe

parent e4508427
......@@ -1412,7 +1412,7 @@ function set_version_by_name($pdo, $name, $version) {
// RECIPE
// ---------------------------------------------------------------------
function set_new_recipe($pdo, $pathname, $intervention_id) {
function set_recipe_new($pdo, $pathname, $intervention_id) {
$sql = 'INSERT INTO recipe (pathname, intervention_id) VALUES (?, ?)';
$stmt = $pdo->prepare($sql);
$iostat = $stmt->execute(array($pathname, $intervention_id));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment