make CommentList::get_hash static, for calling from other places
This commit is contained in:
parent
b685c84209
commit
32e70e22d1
@ -359,7 +359,7 @@ class CommentList extends SimpleExtension {
|
||||
*
|
||||
* FIXME: assumes comments are posted via HTTP...
|
||||
*/
|
||||
public function get_hash() {
|
||||
public static function get_hash() {
|
||||
return md5($_SERVER['REMOTE_ADDR'] . date("%Y%m%d"));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user