mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Remove unused needs_frame_src function
This commit is contained in:
parent
aad2f6a34f
commit
57770e76cf
@ -204,18 +204,6 @@ function is_mac_opera()
|
||||
return strstr($user_agent, "opera") && strstr($user_agent, "mac");
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if frame src needed
|
||||
*
|
||||
* @return bool True if frame is necessary otherwise return False
|
||||
*/
|
||||
function needs_frame_src()
|
||||
{
|
||||
$user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
|
||||
|
||||
return strstr($user_agent, "safari/");
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare logo data
|
||||
*
|
||||
@ -501,7 +489,6 @@ function setup_chatview(Thread $thread)
|
||||
|
||||
// Set some browser info
|
||||
$data['isOpera95'] = is_agent_opera95();
|
||||
$data['neediframesrc'] = needs_frame_src();
|
||||
|
||||
// Load dialogs style options
|
||||
$chat_style = new ChatStyle(ChatStyle::getCurrentStyle());
|
||||
|
Loading…
Reference in New Issue
Block a user