Ok, the edit was not working because of this function:
public function restrictModerationByTime() {
$now = strtotime(gmdate("M d Y H:i:s", time()-100*60));
$date = new JDate($now);
if($this->_item['date'] > $date->toFormat()) {
return true;
} else {
return false;
}
}
I've modified it to this:
public function restrictModerationByTime() {
return true;
}
Now the comment edits are not restricted by time at all.
I'm so happy that I'm dropping support for joomla 1.5... It is impossible to support 2 systems at once. I'll check what is wrong with the jdate function on joomla 2.5 and I'll fix the function and the update will be in the next release.
Regards,
Daniel