mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +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
|
* @return string "Flayed" text
|
||||||
* @access public
|
* @access public
|
||||||
* @todo Change this. We need a real Textile parser.
|
* @todo Change this. We need a real Textile parser.
|
||||||
|
* @codeCoverageIgnoreStart
|
||||||
*/
|
*/
|
||||||
function flay($text, $allowHtml = false) {
|
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')) {
|
if (!class_exists('Flay')) {
|
||||||
uses('flay');
|
uses('flay');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue