mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 00:41:32 +00:00
drop errors.php and simplify error handling
This commit is contained in:
@@ -1063,7 +1063,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
}
|
||||
} else {
|
||||
header("Content-Type: text/json");
|
||||
print error_json(6);
|
||||
print Errors::to_json(Errors::E_UNAUTHORIZED);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user