From 66e1efbcdb10027387c0ae458746c76ff2268182 Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 12 May 2008 06:46:58 +0000 Subject: [PATCH] Deprecating TextHelper::flay(), fixes #3052 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6815 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/text.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cake/libs/view/helpers/text.php b/cake/libs/view/helpers/text.php index 7d2cd3c3d..cfdbb303a 100644 --- a/cake/libs/view/helpers/text.php +++ b/cake/libs/view/helpers/text.php @@ -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'); }