Don't import jabber_registered from the old profile

It is not used anymore by the PS
This commit is contained in:
Simon Schampijer 2008-10-21 12:47:11 +02:00
parent dce326c466
commit e69aa53db1

View File

@ -136,11 +136,6 @@ class Profile(object):
server = cp.get('Jabber', 'Server') server = cp.get('Jabber', 'Server')
client.set_string("/desktop/sugar/collaboration/jabber_server", client.set_string("/desktop/sugar/collaboration/jabber_server",
server) server)
if cp.has_option('Jabber', 'Registered'):
registered = cp.get('Jabber', 'Registered')
if registered.lower() == "true":
client.set_bool(\
"/desktop/sugar/collaboration/jabber_registered", True)
if cp.has_option('Date', 'Timezone'): if cp.has_option('Date', 'Timezone'):
timezone = cp.get('Date', 'Timezone') timezone = cp.get('Date', 'Timezone')
client.set_string("/desktop/sugar/date/timezone", timezone) client.set_string("/desktop/sugar/date/timezone", timezone)