mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Deprecating TextHelper::flay(), fixes #3052
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6815 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b7a5a28fbb
commit
66e1efbcdb
1 changed files with 2 additions and 0 deletions
|
@ -304,8 +304,10 @@ class TextHelper extends AppHelper {
|
|||
* @return string "Flayed" text
|
||||
* @access public
|
||||
* @todo Change this. We need a real Textile parser.
|
||||
* @codeCoverageIgnoreStart
|
||||
*/
|
||||
function flay($text, $allowHtml = false) {
|
||||
trigger_error(__('(TextHelper::flay) Deprecated: the Flay library is no longer supported and will be removed in a future version.', true), E_USER_WARNING);
|
||||
if (!class_exists('Flay')) {
|
||||
uses('flay');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue