Browse Source

no patches on accounts db

version-14
Rushabh Mehta 14 years ago
parent
commit
2cda6827a4
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      cgi-bin/webnotes/modules/patch.py

+ 4
- 0
cgi-bin/webnotes/modules/patch.py View File

@@ -5,6 +5,10 @@ def run(log_exception=1):
from patches import patch
from webnotes.utils import cint
if webnotes.conn.cur_db_name=='accounts':
# no patches on accounts
return
next_patch = cint(webnotes.conn.get_global('next_patch'))
if next_patch <= patch.last_patch:


Loading…
Cancel
Save