Commit f34003c0 authored by Etienne CHAMPETIER's avatar Etienne CHAMPETIER

ZP-794 Remove now useless call to FixFileOwner.

Released under the Affero GNU General Public License (AGPL) version 3.

SafePutContents now takes care of the FixFileOwner call.
Signed-off-by: 's avatarEtienne CHAMPETIER <champetier.etienne@gmail.com>
parent accbd682
......@@ -374,7 +374,6 @@ class FileStateMachine implements IStateMachine {
$settings[self::VERSION] = $version;
ZLog::Write(LOGLEVEL_INFO, sprintf("FileStateMachine->SetStateVersion() saving supported state version, value '%d'", $version));
$status = Utils::SafePutContents($this->settingsfilename, serialize($settings));
Utils::FixFileOwner($this->settingsfilename);
return $status;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment