65LYrMtQquv6hyCl9vs2wu changeset
| Changeset | 333261356135 (b) |
|---|---|
| Parent | None (a) |
| a | b | ||
|---|---|---|---|
| 0 | + | if ($article->metadata->published->getTimestamp() != $item->published->date->getTimestamp()) | |
| 0 | + | { | |
| 0 | + | $article->metadata->published = $item->published->date; | |
| 0 | + | $update = true; | |
| 0 | + | } | |
| 0 | + | ||
| 0 | + | if ($update) | |
| 0 | + | { | |
| 0 | + | if (!$article->guid) | |
| 0 | + | { | |
| 0 | + | $article->create(); | |
| 0 | + | continue; | |
| 0 | + | } | |
| 0 | + | $article->update(); | |
| 0 | + | } | |
| ... | |||
|
|