diff --git a/frappe/client.py b/frappe/client.py index bd5c3b275b..6ed40f8344 100644 --- a/frappe/client.py +++ b/frappe/client.py @@ -281,17 +281,6 @@ def set_default(key, value, parent=None): frappe.clear_cache(user=frappe.session.user) -@frappe.whitelist(methods=["POST", "PUT"]) -def make_width_property_setter(doc): - """Set width Property Setter - - :param doc: Property Setter document with `width` property""" - if isinstance(doc, str): - doc = json.loads(doc) - if doc["doctype"] == "Property Setter" and doc["property"] == "width": - frappe.get_doc(doc).insert(ignore_permissions=True) - - @frappe.whitelist(methods=["POST", "PUT"]) def bulk_update(docs): """Bulk update documents @@ -414,11 +403,6 @@ def attach_file( return file -@frappe.whitelist() -def get_hooks(hook, app_name=None): - return frappe.get_hooks(hook, app_name) - - @frappe.whitelist() def is_document_amended(doctype, docname): if frappe.permissions.has_permission(doctype):