summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2012-06-25 16:49:58 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-06-25 16:49:58 -0400
commit3a10779e0098fadbbd490a535b0c662a73c6623f (patch)
tree0cac31fa36801b0cbf5ba2eb7e231d8c05e9a4be /play/index.php
parente3bc2b2f7fd93e55a653beb62d017633e03f12df (diff)
downloadampache-3a10779e0098fadbbd490a535b0c662a73c6623f.tar.gz
ampache-3a10779e0098fadbbd490a535b0c662a73c6623f.tar.bz2
ampache-3a10779e0098fadbbd490a535b0c662a73c6623f.zip
Drop conditional for PHP < 5.3
We require 5.3, so this code has no effect other than to throw warnings.
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php6
1 files changed, 0 insertions, 6 deletions
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);