summaryrefslogtreecommitdiff
path: root/program/include/rcube_bc.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-20 10:37:13 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-20 10:37:13 +0100
commit9290303e80801a31569386c1a030ca6ed7dd34b5 (patch)
tree8fa330c92d653d6cd07cecbc7abfc21b766b8002 /program/include/rcube_bc.inc
parent2b55d4f4204bdb8c97865e01b960c1d1f23ac0b7 (diff)
Move prompt_silent() and get_opt() to rcube_utils class
Diffstat (limited to 'program/include/rcube_bc.inc')
-rw-r--r--program/include/rcube_bc.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/program/include/rcube_bc.inc b/program/include/rcube_bc.inc
index 4130d4dc5..c6620e0db 100644
--- a/program/include/rcube_bc.inc
+++ b/program/include/rcube_bc.inc
@@ -382,3 +382,13 @@ function send_future_expire_header($offset = 2600000)
{
return rcmail::get_instance()->output->future_expire_header($offset);
}
+
+function get_opt($aliases = array())
+{
+ return rcube_utils::get_opt($aliases);
+}
+
+function prompt_silent($prompt = 'Password:')
+{
+ return rcube_utils::prompt_silent($prompt);
+}