From 3a10779e0098fadbbd490a535b0c662a73c6623f Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Mon, 25 Jun 2012 16:49:58 -0400 Subject: Drop conditional for PHP < 5.3 We require 5.3, so this code has no effect other than to throw warnings. --- play/index.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'play/index.php') diff --git a/play/index.php b/play/index.php index 8d6da1b8..e7c3917c 100644 --- a/play/index.php +++ b/play/index.php @@ -231,12 +231,6 @@ if (!$media->file OR !is_readable($media->file)) { exit; } -// make fread binary safe -// This feature has been DEPRECATED as of PHP 5.3.0 -if(version_compare(PHP_VERSION, '5.3.0', '<=')) { - set_magic_quotes_runtime(0); -} - // don't abort the script if user skips this song because we need to update now_playing ignore_user_abort(true); -- cgit