refactor getFullRecipeWithComments to getFullRecipeWithApprs

This commit is contained in:
Thomas Rubini 2023-01-20 11:08:46 +01:00
parent c55ad5e1be
commit 00f80b9094
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ final class RecipeController
}
$O_recipeModel = new RecipeModel();
$A_returnArray = $O_recipeModel->getFullRecipeWithComments($A_urlParams[0]);
$A_returnArray = $O_recipeModel->getFullRecipeWithApprs($A_urlParams[0]);
if ($A_returnArray === null) {
return View::show("errors/404");
}

View File

@ -15,7 +15,7 @@ final class RecipeModel
return $row;
}
public function getFullRecipeWithComments($I_id)
public function getFullRecipeWithApprs($I_id)
{
$A_recipe = self::getRecipeByID($I_id);
if ($A_recipe === null)return null;