removed refresh_cache from wnf.py

This commit is contained in:
Anand Doshi 2012-12-06 16:54:46 +05:30
parent ae6bd1a849
commit 02e43dfb3c

7
wnf.py
View file

@ -83,10 +83,6 @@ def rebuild():
# build js / css
from webnotes.utils import bundlejs
bundlejs.bundle(False)
# build cache
import website.web_cache
website.web_cache.refresh_cache(['Blog'])
def apply_latest_patches():
import webnotes.modules.patch_handler
@ -415,9 +411,6 @@ def run():
import webnotes.cms.make
webnotes.cms.make.make()
import website.web_cache
website.web_cache.refresh_cache(['Blog'])
elif options.clear_cache:
clear_cache()