From bc90c0128c804252ff60c910658c5bc8218aef2b Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Fri, 12 Oct 2012 15:42:07 -0400 Subject: Start cleaning up the democratic thing. Whoever wrote the old implementation of get_items suffered from intense fear and hatred of SQL. --- lib/class/stream.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/class/stream.class.php') diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index 4d7b44c5..e8ea2f75 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -556,9 +556,9 @@ class Stream { */ public function create_democratic() { - $democratic = Democratic::get_current_playlist(); + $democratic = Democratic::get_current_playlist(); $democratic->set_parent(); - $democratic->vote($this->media); + $democratic->add_vote($this->media); } // create_democratic -- cgit