From 8533ce8a48766aa9a40d2c5696c859db21496d28 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
Date: Wed, 15 Apr 2015 13:47:29 +0200
Subject: [PATCH] [PASSED QA] Bug 13998: Reintroduce use of Koha::Database for
 C4::Ratings

It has been removed by bug 13852, because before bug 13852,
Koha::Database was used in C4:Members which was used by
C4::VirtualShelves which was used by C4::Auth which was finally used by
C4::Ratings...

Test plan:
At the opac, record detail page, note the record using the stars.
Without this patch it does not work.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

http://bugs.koha-community.org/show_bug.cgi?id=12998
---
 C4/Ratings.pm |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/C4/Ratings.pm b/C4/Ratings.pm
index 3a618ac..c2bbbc6 100644
--- a/C4/Ratings.pm
+++ b/C4/Ratings.pm
@@ -26,6 +26,8 @@ use POSIX;
 use C4::Debug;
 use C4::Context;
 
+use Koha::Database;
+
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 
 BEGIN {
-- 
1.7.10.4