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