소스 검색

Added function to delete old temporary backup files when user downloads backup.

version-14
Anand Doshi 14 년 전
부모
커밋
97a08b58fb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      cgi-bin/webnotes/utils/backups.py

+ 2
- 1
cgi-bin/webnotes/utils/backups.py 파일 보기

@@ -112,8 +112,9 @@ def get_backup():
"""
#if verbose: print webnotes.conn.cur_db_name + " " + webnotes.defs.db_password
odb = BackupGenerator(webnotes.conn.cur_db_name, webnotes.conn.cur_db_name,\
webnotes.defs.db_password)
webnotes.defs.db_password)
odb.get_backup()
delete_temp_backups()
webnotes.msgprint("""A download link to your backup will be emailed \
to you shortly.""")



불러오는 중...
취소
저장