Keiji, Yoshimi 7a5086729a reduce unneed query when post without attachements. (#1907)
* reduce unneed query when post without attachements.

This commit reduce following query:

```
 MediaAttachment Load (0.9ms)  SELECT "media_attachments".* FROM "media_attachments" WHERE "media_attachments"."status
_id" IS NULL AND 1=0 ORDER BY id asc
```

* fixed for more simple changes.
2017-04-17 04:23:13 +02:00
..
2017-04-16 20:32:00 +02:00
2017-04-16 20:32:00 +02:00
2017-04-16 03:40:33 +02:00
2017-04-16 19:37:01 +02:00
2017-04-16 19:37:01 +02:00
2017-04-13 16:00:31 +02:00