[REF] common: the previously removed functions were still listed in dispatch().

bzr revid: vmt@openerp.com-20130328092541-zahlbgpidbm2ugfv
This commit is contained in:
Vo Minh Thu 2013-03-28 10:25:41 +01:00
parent 39ddcfd94d
commit 244bca8f6c
1 changed files with 4 additions and 4 deletions

View File

@ -19,11 +19,11 @@ RPC_VERSION_1 = {
}
def dispatch(method, params):
if method in ['login', 'about', 'timezone_get', 'get_server_environment',
'login_message','get_stats', 'check_connectivity',
'list_http_services', 'version', 'authenticate']:
if method in ['login', 'about', 'timezone_get',
'login_message',
'version', 'authenticate']:
pass
elif method in ['get_available_updates', 'get_migration_scripts', 'set_loglevel', 'get_os_time', 'get_sqlcount']:
elif method in ['set_loglevel']:
passwd = params[0]
params = params[1:]
security.check_super(passwd)