summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/database/db-interface.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/db-interface.vala b/src/database/db-interface.vala
index c1df782..610dff7 100644
--- a/src/database/db-interface.vala
+++ b/src/database/db-interface.vala
@@ -46,7 +46,7 @@ public interface Database : Object {
public abstract int64 get_timestamp_of_last_purchase() throws IOError;
public abstract Supplier[] get_supplier_list() throws IOError;
public abstract Supplier get_supplier(int id) throws IOError;
- public abstract bool add_supplier(string name, string postal_code, string city, string street, string phone, string website) throws IOError, DatabaseError;
+ public abstract void add_supplier(string name, string postal_code, string city, string street, string phone, string website) throws IOError, DatabaseError;
public abstract int[] get_users_with_sales(int64 timestamp_from, int64 timestamp_to) throws IOError;
public abstract Price get_user_invoice_sum(int user, int64 timestamp_from, int64 timestamp_to) throws IOError;
}