diff --git a/patches/february_2013/p07_clear_web_cache.py b/patches/february_2013/p07_clear_web_cache.py new file mode 100644 index 00000000000..5aca2d6ee6a --- /dev/null +++ b/patches/february_2013/p07_clear_web_cache.py @@ -0,0 +1,6 @@ +import webnotes + +def execute(): + from website.utils import clear_cache + clear_cache() + \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index 4cdebc2c885..45df4c18be0 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -186,4 +186,5 @@ patch_list = [ "execute:webnotes.delete_doc('DocType', 'Service Order Detail')", "execute:webnotes.delete_doc('DocType', 'Service Quotation Detail')", "patches.february_2013.p06_material_request_mappers", + "patches.february_2013.p07_clear_web_cache" ] \ No newline at end of file