summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-database.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r--hcid/dbus-database.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c
index 0e1d2f7b..e4d8e4b3 100644
--- a/hcid/dbus-database.c
+++ b/hcid/dbus-database.c
@@ -329,9 +329,6 @@ static DBusHandlerResult register_service(DBusConnection *conn,
DBusMessage *reply;
const char *sender, *ident, *name, *desc;
- if (!hcid_dbus_use_experimental())
- return error_unknown_method(conn, msg);
-
if (dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &ident,
DBUS_TYPE_STRING, &name, DBUS_TYPE_STRING, &desc,
DBUS_TYPE_INVALID) == FALSE)
@@ -356,9 +353,6 @@ static DBusHandlerResult unregister_service(DBusConnection *conn,
const char *sender, *ident;
struct service *service;
- if (!hcid_dbus_use_experimental())
- return error_unknown_method(conn, msg);
-
if (dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &ident,
DBUS_TYPE_INVALID) == FALSE)
return error_invalid_arguments(conn, msg);
@@ -393,9 +387,6 @@ static DBusHandlerResult request_authorization(DBusConnection *conn,
debug("RequestAuthorization");
- if (!hcid_dbus_use_experimental())
- return error_unknown_method(conn, msg);
-
if (dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &address,
DBUS_TYPE_STRING, &path, DBUS_TYPE_INVALID) == FALSE)
return error_invalid_arguments(conn, msg);
@@ -436,9 +427,6 @@ static DBusHandlerResult cancel_authorization_request(DBusConnection *conn,
const char *sender, *address, *path;
struct service *service;
- if (!hcid_dbus_use_experimental())
- return error_unknown_method(conn, msg);
-
if (dbus_message_get_args(msg, NULL, DBUS_TYPE_STRING, &address,
DBUS_TYPE_STRING, &path, DBUS_TYPE_INVALID) == FALSE)
return error_invalid_arguments(conn, msg);