Browse Source

remove deprecations

Mark Scherer 10 years ago
parent
commit
077bf71ce7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      View/Helper/FormatHelper.php

+ 2 - 2
View/Helper/FormatHelper.php

@@ -910,7 +910,7 @@ class FormatHelper extends TextHelper {
 	 * @deprecated Try to use font icons or move to own helper
 	 */
 	public function tip($type, $file, $title, $icon) {
-		return $this->cIcon($icon, $title, null, null, ['class' => 'tip-' . $type . ' tip' . ucfirst($type) . ' hand', 'rel' => $file]);
+		return $this->cIcon($icon, ['title' => $title], ['class' => 'tip-' . $type . ' tip' . ucfirst($type) . ' hand', 'rel' => $file]);
 	}
 
 	/**
@@ -921,7 +921,7 @@ class FormatHelper extends TextHelper {
 	 * @deprecated Try to use font icons or move to own helper
 	 */
 	public function tipHelp($file) {
-		return $this->tip('help', $file, 'Hilfe', ICON_HELP);
+		return $this->tip('help', $file, __d('tools', 'Help'), ICON_HELP);
 	}
 
 	/**