summaryrefslogtreecommitdiff
path: root/bin/sql_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sql_db.py')
-rw-r--r--bin/sql_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sql_db.py b/bin/sql_db.py
index 22e2065868e..30b4df1e2b8 100644
--- a/bin/sql_db.py
+++ b/bin/sql_db.py
@@ -2,7 +2,7 @@
##############################################################################
#
# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2008 Tiny SPRL (<http://tiny.be>). All Rights Reserved
+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
@@ -233,7 +233,7 @@ def db_connect(db_name, serialize=0):
def close_db(db_name):
PoolManager.close(db_name)
- tools.cache.clean_cache_for_db(db_name)
+ tools.cache.clean_caches_for_db(db_name)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: