diff options
Diffstat (limited to 'lib/class/localplay.class.php')
-rw-r--r-- | lib/class/localplay.class.php | 5 |
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; } |