summaryrefslogtreecommitdiff
path: root/modules/backend-rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-12-07 09:06:38 +0100
committerAndrew Dolgov <[email protected]>2006-12-07 09:06:38 +0100
commitcf4d339c28240f0390524335c7d8effdc3a63068 (patch)
tree0a03717381b82a9d29d4090ee6025ec3646d2d6d /modules/backend-rpc.php
parent0b126ac277ed5480ef6090ddc7a23a15d21f2960 (diff)
support omode in rpc getAllCounters
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r--modules/backend-rpc.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php
index 153590589..3cba704e3 100644
--- a/modules/backend-rpc.php
+++ b/modules/backend-rpc.php
@@ -42,9 +42,12 @@
}
if ($subop == "getAllCounters") {
- print "<rpc-reply>";
+ print "<rpc-reply>";
print "<counters>";
- getAllCounters($link);
+
+ $omode = $_GET["omode"];
+
+ getAllCounters($link, $omode);
print "</counters>";
print_runtime_info($link);
print "</rpc-reply>";