From 99bed767b392c679165b6dee1f9f371ea2073874 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Fri, 26 Feb 2021 18:47:55 -0500 Subject: [PATCH] Fixed API log no longer logging due to previous commit 089cbb69e3c96e12da04f8db724e70116373ad6d --- api/cora/api_log.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/api/cora/api_log.php b/api/cora/api_log.php index bf0c46d..fe7f6b3 100644 --- a/api/cora/api_log.php +++ b/api/cora/api_log.php @@ -10,18 +10,6 @@ namespace cora; */ final class api_log extends crud { - /** - * Insert an item into the api_log resource. Force the IP to the request IP - * and disallow overriding the timestamp. - * - * @param array $attributes The attributes to insert. - * - * @return int The ID of the inserted row. - */ - public function create($attributes) { - $this->request->queue_create($this->resource, $attributes); - } - /** * Get the number of requests since a given timestamp for a given IP * address. Handy for rate limiting.