Commit dcbb71f4 authored by Dries's avatar Dries
Browse files

- Fixed node revisions.
parent ee9f8987
...@@ -668,11 +668,11 @@ function node_admin() { ...@@ -668,11 +668,11 @@ function node_admin() {
case "delete": case "delete":
print node_delete(array("nid" => $id)); print node_delete(array("nid" => $id));
break; break;
case "rollback revision": case "rollback+revision":
print node_revision_rollback(node_load(array("nid" => $id)), $revision); print node_revision_rollback(node_load(array("nid" => $id)), $revision);
print node_admin_edit($id); print node_admin_edit($id);
break; break;
case "delete revision": case "delete+revision":
print node_revision_delete(node_load(array("nid" => $id)), $revision); print node_revision_delete(node_load(array("nid" => $id)), $revision);
print node_admin_edit($id); print node_admin_edit($id);
break; break;
......
...@@ -668,11 +668,11 @@ function node_admin() { ...@@ -668,11 +668,11 @@ function node_admin() {
case "delete": case "delete":
print node_delete(array("nid" => $id)); print node_delete(array("nid" => $id));
break; break;
case "rollback revision": case "rollback+revision":
print node_revision_rollback(node_load(array("nid" => $id)), $revision); print node_revision_rollback(node_load(array("nid" => $id)), $revision);
print node_admin_edit($id); print node_admin_edit($id);
break; break;
case "delete revision": case "delete+revision":
print node_revision_delete(node_load(array("nid" => $id)), $revision); print node_revision_delete(node_load(array("nid" => $id)), $revision);
print node_admin_edit($id); print node_admin_edit($id);
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment