Closed imjalpreet closed 8 years ago
So, you've tested the code and everything still works without it? Info is logged and data stored in the DB?
Maybe this was for your find
command to retrieve the info?
@oparoz Yes, I had tested the code and everything worked. But I didn't get your find command reference.
I was thinking about this find
command which retrieves the data:
https://github.com/interfasys/mediametadata/blob/master/lib/Services/ImageDimensionMapper.php#L30
@oparoz Yes, the find command is also not being used right now but I had written it to test whether the I am able to retrieve the data, which I have to in the future,
OK, but then it shouldn't be a problem to keep these methods in.
@oparoz Do you want to keep both the methods?
If it's only testing code you won't use again, then you can remove them, but if they're going to be used later, then you can just leave them.
I wasn't sure for json serialize, that's why I decided to remove it. But I think find may be useful in the future, that's why I think we can keep it.
Then let's close this PR for now.
I have removed the JsonSerialize method for now.
Reviewer: @oparoz