diff --git a/src/View/Helper/HtmlHelper.php b/src/View/Helper/HtmlHelper.php
index d586256d83c..fa8735dd398 100644
--- a/src/View/Helper/HtmlHelper.php
+++ b/src/View/Helper/HtmlHelper.php
@@ -41,42 +41,6 @@ class HtmlHelper extends Helper {
*/
public $response;
-/**
- * html tags used by this helper.
- *
- * @var array
- */
- protected $_tags = array(
- 'meta' => '',
- 'metalink' => '',
- 'link' => '%s',
- 'mailto' => '%s',
- 'image' => '',
- 'tableheader' => '
%s | ',
- 'tableheaderrow' => '%s
',
- 'tablecell' => '%s | ',
- 'tablerow' => '%s
',
- 'block' => '%s
',
- 'blockstart' => '',
- 'blockend' => '
',
- 'tag' => '<%s%s>%s%s>',
- 'tagstart' => '<%s%s>',
- 'tagend' => '%s>',
- 'tagselfclosing' => '<%s%s/>',
- 'para' => '%s
',
- 'parastart' => '',
- 'css' => '',
- 'style' => '',
- 'charset' => '',
- 'ul' => '
',
- 'ol' => '%s
',
- 'li' => '%s',
- 'javascriptblock' => '',
- 'javascriptstart' => '',
- 'javascriptend' => ''
- );
-
/**
* Default templates the helper users.
*
@@ -969,27 +933,6 @@ public function tag($name, $text = null, $options = array()) {
]);
}
-/**
- * Returns a formatted existent block of $tags
- *
- * @param string $tag Tag name
- * @return string Formatted block
- * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html#HtmlHelper::useTag
- */
- public function useTag($tag) {
- if (!isset($this->_tags[$tag])) {
- return '';
- }
- $args = func_get_args();
- array_shift($args);
- foreach ($args as &$arg) {
- if (is_array($arg)) {
- $arg = $this->_templater->formatAttributes($arg);
- }
- }
- return vsprintf($this->_tags[$tag], $args);
- }
-
/**
* Returns a formatted DIV tag for HTML FORMs.
*
diff --git a/tests/TestCase/View/Helper/HtmlHelperTest.php b/tests/TestCase/View/Helper/HtmlHelperTest.php
index 579e64317f5..af0f9db9f78 100644
--- a/tests/TestCase/View/Helper/HtmlHelperTest.php
+++ b/tests/TestCase/View/Helper/HtmlHelperTest.php
@@ -1750,25 +1750,6 @@ public function testTag() {
$this->assertEquals('stuff', $result);
}
-/**
- * testUseTag method
- *
- * @return void
- */
- public function testUseTag() {
- $result = $this->Html->useTag('unknowntag');
- $this->assertEquals('', $result);
-
- $result = $this->Html->useTag('blockend');
- $this->assertEquals('', $result);
-
- $result = $this->Html->useTag('image', 'url', 'test');
- $this->assertEquals('', $result);
-
- $result = $this->Html->useTag('image', 'example.com', array('test' => 'ok'));
- $this->assertEquals('', $result);
- }
-
/**
* testDiv method
*