diff --git a/sugar/presence/presenceservice.py b/sugar/presence/presenceservice.py index f38d24eb..604439b4 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