From 24efe49bc2b545e3a3e46d7d6f2bd1166163e52b Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Sat, 5 Jun 2021 11:18:10 -0600 Subject: Move object related functions into their classes. Some of the pages are still broken from this commit, but I plan to either rewrite or ignore them. --- includes/functions_category.php | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 includes/functions_category.php (limited to 'includes/functions_category.php') diff --git a/includes/functions_category.php b/includes/functions_category.php deleted file mode 100644 index 808708c..0000000 --- a/includes/functions_category.php +++ /dev/null @@ -1,17 +0,0 @@ -query($sql); - - $categories = array(); - - foreach ($result as $row) { - $category = new Category(); - $category->get_from_database($row['cat_id']); - array_push($categories, $category); - } - - return $categories; -} \ No newline at end of file -- cgit v1.2.3