1.1 --- a/imiptools/handlers/scheduling/quota.py Mon Feb 08 16:34:24 2016 +0100
1.2 +++ b/imiptools/handlers/scheduling/quota.py Mon Feb 08 16:35:06 2016 +0100
1.3 @@ -78,7 +78,7 @@
1.4 journal = handler.get_journal()
1.5 entries = journal.get_entries(quota, group)
1.6
1.7 - if _add_to_entries(entries, handler.obj.get_uid(), handler.obj.get_recurrenceid(), format_duration(total)):
1.8 + if _add_to_entries(entries, handler.uid, handler.recurrenceid, format_duration(total)):
1.9 journal.set_entries(quota, group, entries)
1.10
1.11 def remove_from_quota(handler, args):
1.12 @@ -97,7 +97,7 @@
1.13 journal = handler.get_journal()
1.14 entries = journal.get_entries(quota, group)
1.15
1.16 - if _remove_from_entries(entries, handler.obj.get_uid(), handler.obj.get_recurrenceid(), format_duration(total)):
1.17 + if _remove_from_entries(entries, handler.uid, handler.recurrenceid, format_duration(total)):
1.18 journal.set_entries(quota, group, entries)
1.19
1.20 def _get_quota_and_group(handler, args):