aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2019-04-27 00:44:13 +0200
committerThomas Lange <code@nerdmind.de>2019-04-27 00:44:13 +0200
commitefaa6430f1263381d3ea3854837b5e9d9d3205f6 (patch)
treef09ed3362e05866248038bf3ca44ae603dd64852 /admin
parent7c252088ef27df20bf67b8bf8818710bfda1721e (diff)
downloadblog-efaa6430f1263381d3ea3854837b5e9d9d3205f6.tar.gz
blog-efaa6430f1263381d3ea3854837b5e9d9d3205f6.tar.xz
blog-efaa6430f1263381d3ea3854837b5e9d9d3205f6.zip
Remove if condition with empty body
Diffstat (limited to 'admin')
-rw-r--r--admin/user/update.php3
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();
}