Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Ok! This looks promising. I will give it a try. Commented Jul 14, 2016 at 0:39
  • Is there any reason this variable is named $new_uid? It really is the uid of an existing user, so it is not really new is it? Commented Jul 14, 2016 at 19:10
  • True - I don't recall how it acquired the name $new_id when I wrote it years ago. Commented Jul 15, 2016 at 13:33
  • Ok, now next problem: On rollback, the updated entities are deleted, instead of the old revision being restored. Commented Aug 3, 2016 at 19:49
  • See drupal.org/node/2778639 Commented Aug 3, 2016 at 20:28