From e31b069bbf618fa6e42dc189c5af9cfa26ab50ae Mon Sep 17 00:00:00 2001 From: liugang Date: Mon, 11 Dec 2023 14:56:56 +0800 Subject: [PATCH] - myControl: remove unused personlData property. --- module/my/control.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/module/my/control.php b/module/my/control.php index 1400675dda..c1d0c4b09e 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -1394,11 +1394,10 @@ EOF; $user = $this->user->getById($this->app->user->account); - $this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->profile; - $this->view->user = $user; - $this->view->groups = $this->loadModel('group')->getByAccount($this->app->user->account); - $this->view->deptPath = $this->dept->getParents($user->dept); - $this->view->personalData = $this->user->getPersonalData(); + $this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->profile; + $this->view->user = $user; + $this->view->groups = $this->loadModel('group')->getByAccount($this->app->user->account); + $this->view->deptPath = $this->dept->getParents($user->dept); $this->display(); }