diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-30 21:45:51 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-30 21:45:51 +0000 |
commit | 9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5 (patch) | |
tree | e244725772291d3f5d517d1e31eceeb928e90ca3 /lib/batch.lib.php | |
parent | 278434b60106387171ab51d036b3195d121de46f (diff) | |
download | ampache-9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5.tar.gz ampache-9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5.tar.bz2 ampache-9bfe4a4ff82b7fc59289e18100365fcaab8dc9b5.zip |
removed last vestiages of log_event
Diffstat (limited to 'lib/batch.lib.php')
-rw-r--r-- | lib/batch.lib.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/batch.lib.php b/lib/batch.lib.php index af4ed80a..867956a9 100644 --- a/lib/batch.lib.php +++ b/lib/batch.lib.php @@ -64,16 +64,11 @@ function send_zip( $name, $song_files ) { $arc->set_options( $options ); $arc->add_files( $song_files ); if (count($arc->error)) { - if (conf('debug')) { - log_event($GLOBALS['user']->username,'archive',"Error: unable to add songs"); - - } + debug_event('archive',"Error: unable to add songs",'3'); } // if failed to add songs if (!$arc->create_archive()) { - if (conf('debug')) { - log_event($GLOBALS['user']->username,'archive',"Error: unable to create archive"); - } + debug_event('archive',"Error: unable to create archive",'3'); } // if failed to create archive $arc->download_file(); |