Remove isFlash detector

This commit is contained in:
joyqi 2021-08-18 11:45:19 +08:00
parent 7f3cd2b9e8
commit 423c99f3bd

View File

@ -803,17 +803,6 @@ class Typecho_Request
return 'XMLHttpRequest' == $this->getServer('HTTP_X_REQUESTED_WITH');
}
/**
* 判断是否为flash
*
* @access public
* @return boolean
*/
public function isFlash(): bool
{
return 'Shockwave Flash' == $this->getServer('USER_AGENT');
}
/**
* 判断输入是否满足要求
*