From efaa6430f1263381d3ea3854837b5e9d9d3205f6 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 27 Apr 2019 00:44:13 +0200 Subject: Remove if condition with empty body --- admin/user/update.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'admin/user') diff --git a/admin/user/update.php b/admin/user/update.php index becfdc5..13fb5f0 100644 --- a/admin/user/update.php +++ b/admin/user/update.php @@ -30,8 +30,7 @@ try { if(HTTP::issetPOST(['token' => Application::getSecurityToken()])) { try { - if($Attribute->databaseUPDATE($Database)) { - } + $Attribute->databaseUPDATE($Database); } catch(PDOException $Exception) { $messages[] = $Exception->getMessage(); } -- cgit v1.2.3