Sfoglia il codice sorgente

Merge branch 'live'

version-14
Rushabh Mehta 14 anni fa
parent
commit
0219ee3071
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +4
    -0
      cgi-bin/webnotes/modules/patch.py

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

@@ -5,6 +5,10 @@ def run(log_exception=1):
from patches import patch from patches import patch
from webnotes.utils import cint 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')) next_patch = cint(webnotes.conn.get_global('next_patch'))
if next_patch <= patch.last_patch: if next_patch <= patch.last_patch:


Caricamento…
Annulla
Salva