In post.php it should be:
Goto line 291, add condition as below:
if ((($post->userid <> $USER->id) and !$adminedit) and (($post->userid <> $USER->id) and !teachersuperedit)) {
Goto line 294, add condition as below:
if ((((time() - $post->created) > $CFG->maxeditingtime) and !$adminedit) and (((time() - $post->created) > $CFG->maxeditingtime) and !$teachersuperedit)) {
--
Anyway, I should think about that
Let it be a prebeta solution
Forum
Editing a forum post after the 30 minutes deadline
This discussion has been locked so you can no longer reply to it.