summaryrefslogtreecommitdiffstats
path: root/lib/stream.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 21:45:51 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-30 21:45:51 +0000
commit9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5 (patch)
treee244725772291d3f5d517d1e31eceeb928e90ca3 /lib/stream.lib.php
parent278434b60106387171ab51d036b3195d121de46f (diff)
downloadampache-9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5.tar.gz
ampache-9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5.tar.bz2
ampache-9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5.zip
removed last vestiages of log_event
Diffstat (limited to 'lib/stream.lib.php')
-rw-r--r--lib/stream.lib.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/stream.lib.php b/lib/stream.lib.php
index 852df28a..bc30d7cb 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -254,10 +254,8 @@ function start_downsample($song,$now_playing_id=0,$song_name=0) {
$downsample_command = str_replace("%SAMPLE%",$sample_rate,$downsample_command);
// If we are debugging log this event
- if (conf('debug')) {
- $message = "Start Downsample: $downsample_command";
- log_event($GLOBALS['user']->username,' downsample ',$message);
- } // if debug
+ $message = "Start Downsample: $downsample_command";
+ debug_event('downsample',$message,'3');
$fp = @popen($downsample_command, 'rb');