dbms_init...1
This commit is contained in:
parent
f5f05a25b8
commit
d89e976be2
@ -45,7 +45,7 @@ class UserController extends AdminController
|
||||
{
|
||||
switch ($this->getAction()) {
|
||||
case 'profile_modify':
|
||||
$this->getMyLogService()->save($this->getService()->getClassName(), __FUNCTION__, $message, $this->getMyAuth()->getUIDByAuthInfo());
|
||||
$this->getMyLogService()->save($this->getService()->getClassName(), $this->getAction(), $message, $this->getMyAuth()->getUIDByAuthInfo());
|
||||
$result = $this->view($this->entity->getPK());
|
||||
break;
|
||||
case 'profile_modify_form':
|
||||
|
||||
@ -261,7 +261,7 @@ abstract class CommonController extends BaseController
|
||||
protected function getResultFail(string $message = MESSAGES["FAILED"]): RedirectResponse
|
||||
{
|
||||
LogCollector::debug($message);
|
||||
$this->getMyLogService()->save($this->getService()->getClassName(), __FUNCTION__, $message, $this->getMyAuth()->getUIDByAuthInfo());
|
||||
$this->getMyLogService()->save($this->getService()->getClassName(), $this->getAction(), $message, $this->getMyAuth()->getUIDByAuthInfo());
|
||||
if ($this->request->getMethod() === 'POST') {
|
||||
return redirect()->back()->withInput()->with('error', $message);
|
||||
}
|
||||
@ -273,7 +273,7 @@ abstract class CommonController extends BaseController
|
||||
switch ($this->getAction()) {
|
||||
case 'create':
|
||||
case 'modify':
|
||||
$this->getMyLogService()->save($this->getService()->getClassName(), __FUNCTION__, $message, $this->getMyAuth()->getUIDByAuthInfo());
|
||||
$this->getMyLogService()->save($this->getService()->getClassName(), $this->getAction(), $message, $this->getMyAuth()->getUIDByAuthInfo());
|
||||
$result = $this->view($this->entity->getPK());
|
||||
break;
|
||||
case 'create_form':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user