# HG changeset patch # User Kim Alvefur # Date 1343504302 -7200 # Node ID be204204cc5f6c04a47be1019a1819627b6d9454 # Parent 685403a6fee13f11fe29a660b78e01f13ead28dd storagemanager: Add method for removing all data belonging to a user diff -r 685403a6fee1 -r be204204cc5f core/storagemanager.lua --- a/core/storagemanager.lua Sat Jul 28 21:36:42 2012 +0200 +++ b/core/storagemanager.lua Sat Jul 28 21:38:22 2012 +0200 @@ -103,5 +103,8 @@ function datamanager.list_stores(username, host) return get_driver(host):list_stores(username, host); end +function datamanager.purge(username, host) + return get_driver(host):purge(username, host); +end return _M;