mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Add build task in Grunt script.
Minor fixes
This commit is contained in:
parent
ea4262e954
commit
67e6084276
18 changed files with 321 additions and 129 deletions
|
|
@ -2991,6 +2991,20 @@ class Actions
|
|||
return $this->DefaultResponse(__FUNCTION__, $bResult);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function DoJsInfo()
|
||||
{
|
||||
$bIsError = '1' === (string) $this->GetActionParam('IsError', '0');
|
||||
$mData = $this->GetActionParam('Data', null);
|
||||
|
||||
$this->Logger()->WriteDump(is_array($mData) ? $mData : array(),
|
||||
$bIsError ? \MailSo\Log\Enumerations\Type::ERROR : \MailSo\Log\Enumerations\Type::INFO, 'JS-INFO');
|
||||
|
||||
return $this->DefaultResponse(__FUNCTION__, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue