summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/mpd/AUTHORS3
-rw-r--r--modules/mpd/mpd.class.php20
2 files changed, 0 insertions, 23 deletions
diff --git a/modules/mpd/AUTHORS b/modules/mpd/AUTHORS
index bacec9eb..0024be02 100644
--- a/modules/mpd/AUTHORS
+++ b/modules/mpd/AUTHORS
@@ -4,9 +4,6 @@ Benjamin Carlisle (bcarlisle@24oz.com)
Karl Vollmer (vollmer@ampache.org)
* Connection Timeout
-Henrik Probell (henrik.probell@gmail.com)
- * ClearPLIfStopped
-
Paul Arthur (flowerysong00@yahoo.com)
* Rewritten for PHP5
* Generic error handling/debugging with optional callback
diff --git a/modules/mpd/mpd.class.php b/modules/mpd/mpd.class.php
index c61bfea6..5dacca64 100644
--- a/modules/mpd/mpd.class.php
+++ b/modules/mpd/mpd.class.php
@@ -585,26 +585,6 @@ class mpd {
return $response;
}
- /* ClearPLIfStopped()
- *
- * This function clears the mpd playlist ONLY IF the mpd state is
- * self::STATE_STOPPED
- */
- public function ClearPLIfStopped() {
-
- $this->_debug('ClearPLIfStopped', 'start', 5);
-
- $this->RefreshInfo();
-
- if ($this->status['state'] == self::STATE_STOPPED) {
- $this->PLClear();
- return true;
- }
-
- return false;
-
- } // ClearPLIfStopped
-
/* PLRemove
*
* Removes track <id> from the playlist.