remove done TODOs
This commit is contained in:
		
							parent
							
								
									764cacdf14
								
							
						
					
					
						commit
						1d9079398b
					
				| @ -9,7 +9,6 @@ final class RecipeController | ||||
|             throw new HTTPSpecialCaseException(404); | ||||
|         } | ||||
| 
 | ||||
|         //TODO MAKE THE VIEW USE THE NEW DATA FORMAT
 | ||||
|         $O_recipe = RecipeModel::getByID($A_urlParams[0]); | ||||
|         if ($O_recipe === null) { | ||||
|             throw new HTTPSpecialCaseException(404); | ||||
| @ -209,7 +208,6 @@ final class RecipeController | ||||
|     private function searchQueryView(Array $A_urlParams = null, Array $A_postParams = null, Array $A_getParams = null) | ||||
|     { | ||||
| 
 | ||||
|         //TODO change this when the function will return object array
 | ||||
|         $A_results = RecipeModel::searchRecipesByName($A_getParams["query"]); | ||||
|          | ||||
|         View::show("recipe/search", array( | ||||
|  | ||||
| @ -103,8 +103,6 @@ final class UserController | ||||
|         header("Location: /"); | ||||
|     } | ||||
| 
 | ||||
|     // Kept for compatibility purposes
 | ||||
|     // TODO do a redirect route once implemented
 | ||||
|     public function viewAction(Array $A_urlParams = null, Array $A_postParams = null) | ||||
|     { | ||||
|         return self::defaultAction($A_urlParams, $A_postParams); | ||||
| @ -120,7 +118,6 @@ final class UserController | ||||
| 
 | ||||
|         $O_user = UserModel::getByID($_SESSION["ID"]); | ||||
|          | ||||
|         //TODO Convert User into array
 | ||||
|         return View::show("user/edit", array("USER" => $O_user)); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
| @ -170,7 +170,6 @@ final class RecipeModel | ||||
|         return explode("\n\n", str_replace("\r", "", $this->S_INSTRUCTIONS)); | ||||
|     } | ||||
| 
 | ||||
|     //TODO: return array object
 | ||||
|     public static function searchRecipesByName($S_query) | ||||
|     { | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user