Skip to content

Commit

Permalink
unlock pages on viewing them
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Apr 26, 2018
1 parent 0d5c154 commit daa5910
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inc/Action/Show.php
Expand Up @@ -22,6 +22,12 @@ public function minimumPermission() {
return AUTH_READ;
}

/** @inheritdoc */
public function preProcess() {
global $ID;
unlock($ID);
}

/** @inheritdoc */
public function tplContent() {
html_show();
Expand Down

0 comments on commit daa5910

Please sign in to comment.