diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-10-12 15:42:07 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-10-15 13:20:28 -0400 |
commit | bc90c0128c804252ff60c910658c5bc8218aef2b (patch) | |
tree | f6fcf30166a9fb8803387db53cd164a7a132b452 /lib/class/stream.class.php | |
parent | 8c4921f5f388f1f81000b2fbef9da35b0787e4d1 (diff) | |
download | ampache-bc90c0128c804252ff60c910658c5bc8218aef2b.tar.gz ampache-bc90c0128c804252ff60c910658c5bc8218aef2b.tar.bz2 ampache-bc90c0128c804252ff60c910658c5bc8218aef2b.zip |
Start cleaning up the democratic thing.
Whoever wrote the old implementation of get_items suffered from intense fear
and hatred of SQL.
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r-- | lib/class/stream.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |