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:
nate 2008-05-12 06:46:58 +00:00
parent b7a5a28fbb
commit 66e1efbcdb

View file

@ -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');
}