diff options
author | Thomas Lange <code@nerdmind.de> | 2019-04-27 00:44:13 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2019-04-27 00:44:13 +0200 |
commit | efaa6430f1263381d3ea3854837b5e9d9d3205f6 (patch) | |
tree | f09ed3362e05866248038bf3ca44ae603dd64852 | |
parent | 7c252088ef27df20bf67b8bf8818710bfda1721e (diff) | |
download | blog-efaa6430f1263381d3ea3854837b5e9d9d3205f6.tar.gz blog-efaa6430f1263381d3ea3854837b5e9d9d3205f6.tar.xz blog-efaa6430f1263381d3ea3854837b5e9d9d3205f6.zip |
Remove if condition with empty body
-rw-r--r-- | admin/user/update.php | 3 |
1 files changed, 1 insertions, 2 deletions
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(); } |