diff options
Diffstat (limited to 'app/model/common.mod.php')
-rw-r--r-- | app/model/common.mod.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/model/common.mod.php b/app/model/common.mod.php index 080c78e..32bdb44 100644 --- a/app/model/common.mod.php +++ b/app/model/common.mod.php @@ -79,6 +79,16 @@ class CommonModel extends MasterModel return; } + if (isset($input['rmImage'])) + { + if ($user->rmHeadImage()) + $this->logNotice("Image removed"); + else + $this->logError("Error removing user image"); + + return; + } + if ($form->setPasswd) { if ($user->validatePassword($form->curPasswd)) |