Permalink
Browse files

Fixes #8779. This removes the iPod template from master. It has moved…

… to a branch now.
  • Loading branch information...
1 parent 4753643 commit a4ceb01657302fbe5b51add357c01846798ff67c @kormoc kormoc committed Dec 21, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 includes/skin.php
View
4 includes/skin.php
@@ -27,8 +27,6 @@
$tmpl = 'wap';
elseif (preg_match('/^(Lynx|ELinks)/i', $_SERVER['HTTP_USER_AGENT']))
$tmpl = 'lite';
- elseif (preg_match('/(mobile\s+safari|ipod|iphone)/i', $_SERVER['HTTP_USER_AGENT']))
- $tmpl = 'iPod';
if (!file_exists(modules_path.'/_shared/tmpl/'.$tmpl.'/welcome.php'))
$tmpl = 'default';
@@ -40,8 +38,6 @@
$skin = _or($_REQUEST['RESET_SKIN'], 'default');
elseif (isMobileUser())
$skin = 'wap';
- elseif (preg_match('/(mobile\s+safari|ipod|iphone)/i', $_SERVER['HTTP_USER_AGENT']))
- $skin = 'iPod-default';
if (!file_exists('skins/'.$skin.'/img/'))
$skin = 'default';

0 comments on commit a4ceb01

Please sign in to comment.