summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-12 12:52:01 +0000
committeralecpl <alec@alec.pl>2011-09-12 12:52:01 +0000
commit8703b0801865eb47505c960037d916253e315fc7 (patch)
tree0f053d02dd4512e98731d7adede5253b7dafdc38 /program/include/main.inc
parent979679b311c3f55c5a2d556391554613420f6379 (diff)
- Extend rcube_label_exists() to search in loaded plugins localizations
- Allow use localized addressbook field subtypes from plugins
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 3513a07c2..909d0a5f2 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -97,9 +97,9 @@ function rcube_label($p, $domain=null)
*
* @see rcmail::text_exists()
*/
-function rcube_label_exists($name, $domain=null)
+function rcube_label_exists($name, $domain=null, &$ref_domain = null)
{
- return rcmail::get_instance()->text_exists($name, $domain);
+ return rcmail::get_instance()->text_exists($name, $domain, $ref_domain);
}