From 1c9c602534e9a0aab5426d91f96b07ff31deabc6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 18 Jan 2009 16:29:25 +0100 Subject: remove label: do not reload headlines --- modules/backend-rpc.php | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'modules/backend-rpc.php') diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 3ec7df9e1..a6ab9340a 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -431,14 +431,33 @@ $label = label_find_caption($link, $label_id, $_SESSION["uid"]); + print ""; + print ""; + if ($label) { foreach ($ids as $id) { label_remove_article($link, $id, $label, $_SESSION["uid"]); + + print "".$l[1].""; + } + + print "]]>"; + } } - print "OK"; + print ""; + + print ""; + getAllCounters($link, $omode); + print ""; + print ""; return; } -- cgit v1.2.3