refactor getFullRecipeWithComments to getFullRecipeWithApprs
This commit is contained in:
parent
c55ad5e1be
commit
00f80b9094
@ -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");
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user