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