diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-06-05 16:50:07 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-06-06 14:35:28 -0500 |
commit | 6a968b1468fff08e0aeebae04dd7cf0888a4014e (patch) | |
tree | f5a2426a99fd2436e6d1c2a46612e82ddddc9c97 /src/lib | |
parent | 254ef5d38d715e2b8b0099281707bc43247f12a9 (diff) | |
download | bcfg2-6a968b1468fff08e0aeebae04dd7cf0888a4014e.tar.gz bcfg2-6a968b1468fff08e0aeebae04dd7cf0888a4014e.tar.bz2 bcfg2-6a968b1468fff08e0aeebae04dd7cf0888a4014e.zip |
Reports: remove unused function
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/reports/models.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/reports/models.py b/src/lib/Bcfg2/Server/Reports/reports/models.py index 54ad2fcf0..4983bad20 100644 --- a/src/lib/Bcfg2/Server/Reports/reports/models.py +++ b/src/lib/Bcfg2/Server/Reports/reports/models.py @@ -85,16 +85,6 @@ class Client(models.Model): class InteractiveManager(models.Manager): """Manages interactions objects.""" - def recent_interactions_dict(self, maxdate=None, active_only=True): - """ - Return the most recent interactions for clients as of a date. - - This method uses aggregated queries to return a ValuesQueryDict object. - Faster then raw sql since this is executed as a single query. - """ - - return list(self.values('client').annotate(max_timestamp=Max('timestamp')).values()) - def interaction_per_client(self, maxdate=None, active_only=True): """ Returns the most recent interactions for clients as of a date |