mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Small code cleanup
This commit is contained in:
parent
e8576c75b9
commit
2056600a72
3 changed files with 4 additions and 3 deletions
|
|
@ -86,3 +86,5 @@ $manifest = str_replace('}]', "}\n]", $manifest);
|
|||
$manifest = str_replace('","', "\",\n\t\t\"", $manifest);
|
||||
$manifest = str_replace('\/', '/', $manifest);
|
||||
file_put_contents(PLUGINS_DEST_DIR . "/packages.json", $manifest);
|
||||
|
||||
exit;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ class ChangePasswordHMailServerPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
|
||||
public function Supported() : string
|
||||
{
|
||||
return 'Use Change Password plugin';
|
||||
return 'Activate in Change Password plugin'
|
||||
. (\class_exists('COM') ? '' : '. And you must install PHP COM extension');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,8 +41,6 @@ trait User
|
|||
$sPassword = $this->GetActionParam('Password', '');
|
||||
$bSignMe = !empty($this->GetActionParam('SignMe', 0));
|
||||
|
||||
$oAccount = null;
|
||||
|
||||
$this->Logger()->AddSecret($sPassword);
|
||||
|
||||
$oAccount = $this->LoginProcess($sEmail, $sPassword, $bSignMe);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue