diff options
Diffstat (limited to 'sugar/presence/presenceservice.py')
-rw-r--r-- | sugar/presence/presenceservice.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sugar/presence/presenceservice.py b/sugar/presence/presenceservice.py index f38d24e..604439b 100644 --- a/sugar/presence/presenceservice.py +++ b/sugar/presence/presenceservice.py @@ -224,14 +224,10 @@ class _MockPresenceService(gobject.GObject): def share_activity(self, activity, properties={}): return None -_REAL_PS_ENABLED = False _ps = None def get_instance(): global _ps if not _ps: - if _REAL_PS_ENABLED: - _ps = PresenceService() - else: - _ps = _MockPresenceService() + _ps = PresenceService() return _ps |