Browse Source

fix for 3.1

Mark Scherer 10 years ago
parent
commit
e631dcee5d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/Utility/Number.php

+ 3 - 2
src/Utility/Number.php

@@ -24,11 +24,12 @@ class Number extends CakeNumber {
 	protected static $_thousands = '.';
 
 	/**
-	 * Correct the defaul values according to localization
+	 * Correct the default values according to localization
 	 *
 	 * @return void
+	 * @deprecated Should not be used anymore with 3.x functionality?
 	 */
-	public static function config($options = []) {
+	public static function setConfig($options = []) {
 		$config = $options + (array)Configure::read('Localization');
 		foreach ($config as $key => $value) {
 			$key = '_' . $key;