View | Details | Raw Unified | Return to bug 52535
Collapse All | Expand All

(-)management/univention-management-console/univention-management-console-web-server (-1 / +4 lines)
 Lines 395-401   class User(object): Link Here 
395
		self._timeout_id = notifier.timer_add(int(self.session_end_time - monotonic()) * 1000, self._session_timeout_timer)
395
		self._timeout_id = notifier.timer_add(int(self.session_end_time - monotonic()) * 1000, self._session_timeout_timer)
396
396
397
	def disconnect_timer(self):
397
	def disconnect_timer(self):
398
		notifier.timer_remove(self._timeout_id)
398
		try:
399
			notifier.timer_remove(self._timeout_id)
400
		except KeyError:
401
			pass  # timer has already been removed, Bug #52535
399
402
400
	def timed_out(self, now):
403
	def timed_out(self, now):
401
		return self.session_end_time < now
404
		return self.session_end_time < now

Return to bug 52535