summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-08 21:52:12 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-08 21:52:12 +0100
commit442682e488181a9e9139f02bb657e501eb78573d (patch)
treebc1ecec96916e8110170e4f978633482202d5692 /system
parentf7c39d6a123a73d90e4e9ebca2c66ed75731ab32 (diff)
Polish docs for String, Text and Typography helpers
Diffstat (limited to 'system')
-rw-r--r--system/helpers/string_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/string_helper.php b/system/helpers/string_helper.php
index 5177a7e59..9fc24559a 100644
--- a/system/helpers/string_helper.php
+++ b/system/helpers/string_helper.php
@@ -218,10 +218,10 @@ if ( ! function_exists('random_string'))
break;
}
return substr(str_shuffle(str_repeat($pool, ceil($len / strlen($pool)))), 0, $len);
- case 'unique':
+ case 'unique': // todo: remove in 3.1+
case 'md5':
return md5(uniqid(mt_rand()));
- case 'encrypt':
+ case 'encrypt': // todo: remove in 3.1+
case 'sha1':
return sha1(uniqid(mt_rand(), TRUE));
}