Skip to content

Commit 8c4f231

Browse files
author
euromark
committed
revert
1 parent 6bb7f6f commit 8c4f231

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

View/Helper/FormExtHelper.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,13 @@ public function deleteLink($title, $url = null, $options = array(), $confirmMess
7979
* Create postLinks with a default class "postLink"
8080
*
8181
* @see FormHelper::postLink for details
82-
*
83-
* Shim option
84-
* - confirm: replaces 3rd param
85-
*
82+
8683
* @return string
8784
*/
8885
public function postLink($title, $url = null, $options = array(), $confirmMessage = false) {
8986
if (!isset($options['class'])) {
9087
$options['class'] = 'post-link postLink';
9188
}
92-
if (isset($options['confirm'])) {
93-
$confirmMessage = $options['confirm'];
94-
unset($options['confirm']);
95-
}
9689
return parent::postLink($title, $url, $options, $confirmMessage);
9790
}
9891

View/Helper/HtmlExtHelper.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,6 @@ public function time($content, $options = array()) {
9595
return sprintf($this->tags['time'], $attributes, $content);
9696
}
9797

98-
/**
99-
* HtmlExtHelper::link()
100-
*
101-
* Shim option
102-
* - confirm: replaces 4th param
103-
*
104-
* @see HtmlHelper::link for details
105-
*
106-
* @return string
107-
*/
108-
public function link($title, $url = null, $options = array(), $confirmMessage = false) {
109-
if (isset($options['confirm'])) {
110-
$confirmMessage = $options['confirm'];
111-
unset($options['confirm']);
112-
}
113-
return parent::link($title, $url, $options, $confirmMessage);
114-
}
115-
11698
/**
11799
* Keep named and query params for pagination/filter after edit etc.
118100
*

0 commit comments

Comments
 (0)