]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Image.php
Merge pull request #10551 from annando/profiler
[friendica.git] / src / Object / Image.php
index 8592aff916dfcab5562d8979b5c1deb294b80679..8c8ebfb29d3f315e76528c7d17be48624eb0466d 100644 (file)
@@ -650,9 +650,9 @@ class Image
 
                $string = $this->asString();
 
-               $stamp1 = microtime(true);
+               DI::profiler()->stopRecording('file');
                file_put_contents($path, $string);
-               DI::profiler()->saveTimestamp($stamp1, "file");
+               DI::profiler()->stopRecording();
        }
 
        /**