diff --git a/src/html/api/entry.php b/src/html/api/entry.php
index fa684a7..de509b9 100644
--- a/src/html/api/entry.php
+++ b/src/html/api/entry.php
@@ -105,29 +105,6 @@ class EntryAPI extends RestAPI {
}
}
-
- protected function get_years() {
- $account=$this->_request['account'];
-
- $connection=$this->get_db_connection();
-
- $statement=$connection->prepare("select distinct extract(year from value_date) as year from entry where account_id = :account order by year desc");
- $statement->bindParam("account", $account);
-
- $return=$statement->execute();
-
- if($return) {
- $result=[];
- foreach($statement->fetchAll(PDO::FETCH_NUM) as $value) {
- array_push($result, $value[0]);
- }
- $this->response($result);
- } else {
- $this->response($statement->errorInfo()[2], 500);
- }
- }
-
-
protected function get_months() {
$account=$this->_request['account'];