mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-22 19:24:34 -04:00
Fix Minz_Error::error() -> use default values
This commit is contained in:
1 parent
ba832bef4d
commit
58deab37cd
10 files changed
+25
-60
No files matched your search
@@ -19,8 +19,7 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
|
||||
*/
|
||||
public function indexAction() {
|
||||
if (!FreshRSS_Auth::hasAccess('admin')) {
|
||||
Minz_Error::error(403,
|
||||
array('error' => array(_t('access_denied'))));
|
||||
Minz_Error::error(403);
|
||||
}
|
||||
|
||||
Minz_View::prependTitle(_t('gen.title.authentication') . ' · ');
|
||||
|
||||
Reference in new issue
Block a user