Skip to content

Commit

Permalink
#314 Исправлена ошибка. Добавил очистку кэш настроек.
Browse files Browse the repository at this point in the history
  • Loading branch information
apor committed Apr 26, 2022
1 parent 6ab9ce7 commit 1b8e799
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Core/System/Configs/SSHConf.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ public function generateAuthorizedKeys(): void
**/
public function updateShellPassword(): void
{

$password = $this->mikoPBXConfig->getGeneralSettings('SSHPassword');
$hashString = $this->mikoPBXConfig->getGeneralSettings('SSHPasswordHashString');
$echoPath = Util::which('echo');
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Workers/WorkerModelsEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ private function fillModifiedTablesFromPbxSettingsData(string $called_class, str
if (PbxSettings::class !== $called_class) {
return;
}

PbxSettings::clearCache(PbxSettings::class);
/** @var PbxSettings $pbxSettings */
$pbxSettings = PbxSettings::findFirstByKey($recordId);
if ($pbxSettings === null) {
Expand Down

0 comments on commit 1b8e799

Please sign in to comment.