summaryrefslogtreecommitdiffstats
path: root/lib/log.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-13 07:27:16 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-13 07:27:16 +0000
commit6546c826432b5c18c22a2ac2cd7dd1d77a7002c3 (patch)
tree425469fcd29d5fbb26455220b40d3f576802dc38 /lib/log.lib.php
parentada740ec4123cf286c8abc3a09eb62ed80716fba (diff)
downloadampache-6546c826432b5c18c22a2ac2cd7dd1d77a7002c3.tar.gz
ampache-6546c826432b5c18c22a2ac2cd7dd1d77a7002c3.tar.bz2
ampache-6546c826432b5c18c22a2ac2cd7dd1d77a7002c3.zip
fixed playlists thing for real this time
Diffstat (limited to 'lib/log.lib.php')
-rw-r--r--lib/log.lib.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/log.lib.php b/lib/log.lib.php
index d187fa60..a82338f0 100644
--- a/lib/log.lib.php
+++ b/lib/log.lib.php
@@ -81,6 +81,10 @@ function ampache_error_handler($errno, $errstr, $errfile, $errline) {
break;
} // end switch
+ /* Don't log var: Deprecated we know shutup! */
+ if (strstr($errstr,"var: Deprecated. Please use the public/private/protected modifiers")) {
+ return false;
+ }
$log_line = "[$error_name] $errstr on line $errline in $errfile";
debug_event('error',$log_line,$level);