summaryrefslogtreecommitdiffstats
path: root/lib/class/localplay.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-10 04:35:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-10 04:35:26 +0000
commit0d2c89e90d7c64eba058ae375760a350d336578b (patch)
treeab689e3d203db1e0b2cce5e44e9f42aa95d1aff9 /lib/class/localplay.class.php
parent17a4516e29e9ce9d2583d8b06431dfcdf5722c11 (diff)
downloadampache-0d2c89e90d7c64eba058ae375760a350d336578b.tar.gz
ampache-0d2c89e90d7c64eba058ae375760a350d336578b.tar.bz2
ampache-0d2c89e90d7c64eba058ae375760a350d336578b.zip
fixed the last of the missing MPD features, added new ajax config hotness (not that special)
Diffstat (limited to 'lib/class/localplay.class.php')
-rw-r--r--lib/class/localplay.class.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/class/localplay.class.php b/lib/class/localplay.class.php
index 02276b13..15f945f2 100644
--- a/lib/class/localplay.class.php
+++ b/lib/class/localplay.class.php
@@ -593,10 +593,7 @@ class Localplay {
*/
public function delete_all() {
-
- $function = $this->_function_map['delete_all'];
-
- if (!$this->_player->$function($songs)) {
+ if (!$this->_player->clear_playlist()) {
debug_event('localplay','Error: Unable to delete entire playlist, check ' . $this->type . ' controller','1');
return false;
}