Skip to content

Commit

Permalink
Update for ttrss interface return
Browse files Browse the repository at this point in the history
  • Loading branch information
powerivq committed Aug 30, 2022
1 parent 79f5d28 commit 6c75ba0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions php/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,16 @@ function hook_house_keeping() {
WHERE last_accessed<NOW()-INTERVAL 30 DAY')->execute([]);
}

function csrf_ignore($method) {
function csrf_ignore($method): bool {
return true;
}

function before($method) {
function before($method): bool {
return true;
}

function after() {
function after(): bool {
return true;
}

function get_js() {
Expand Down

0 comments on commit 6c75ba0

Please sign in to comment.