summaryrefslogtreecommitdiff
path: root/app/Controllers/updateController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-30 19:57:08 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-30 19:57:08 +0100
commit58deab37cdd97e93ac25aba574a32befe1db2243 (patch)
tree56c618b6dc3620de31917294c69304f61c52f9d6 /app/Controllers/updateController.php
parentba832bef4de4a02df46023b389f752b01d43c98b (diff)
Fix Minz_Error::error() -> use default values
Diffstat (limited to 'app/Controllers/updateController.php')
-rw-r--r--app/Controllers/updateController.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/Controllers/updateController.php b/app/Controllers/updateController.php
index 4ef5357ea..0896b13ac 100644
--- a/app/Controllers/updateController.php
+++ b/app/Controllers/updateController.php
@@ -4,10 +4,7 @@ class FreshRSS_update_Controller extends Minz_ActionController {
public function firstAction() {
$current_user = Minz_Session::param('currentUser', '');
if (!FreshRSS_Auth::hasAccess('admin')) {
- Minz_Error::error(
- 403,
- array('error' => array(_t('access_denied')))
- );
+ Minz_Error::error(403);
}
invalidateHttpCache();