Fix typo.

This commit is contained in:
Lars Jung 2014-09-10 16:59:51 +02:00
parent 30688cbe5a
commit 943de9045d
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ class Util {
}
public static function safe_json($path, $obj) {
public static function save_json($path, $obj) {
$json = json_encode($obj);
return file_put_contents($path, $json) !== false;