diff options
author | ivan <ivan> | 2010-07-23 10:02:40 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-23 10:02:40 +0000 |
commit | 22e59cf0fddecd4808a6ce91fe2b1712f3ab3c87 (patch) | |
tree | c7a99c8945765677fbec24b4e59b6696a961caba /FS/FS/svc_CGP_Mixin.pm | |
parent | abdb0f8539d8604b3e1ba6218e36a8717e96f88d (diff) |
add EmptyTrash values and finish consolidating the CGP timezone arrays, RT#7083
Diffstat (limited to 'FS/FS/svc_CGP_Mixin.pm')
-rw-r--r-- | FS/FS/svc_CGP_Mixin.pm | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/FS/FS/svc_CGP_Mixin.pm b/FS/FS/svc_CGP_Mixin.pm index adde61f..489e979 100644 --- a/FS/FS/svc_CGP_Mixin.pm +++ b/FS/FS/svc_CGP_Mixin.pm @@ -30,7 +30,7 @@ Returns an arrayref of Communigate time zones. #http://www.communigate.com/pub/client/TimeZones.data #http://www.communigate.com/cgatepro/WebMail.html#Settings -sub cgp_timezone { +sub cgp_timezone_values { #my $self = shift; #i'm used as a class and object method but just return data [ '', @@ -96,7 +96,39 @@ sub cgp_timezone { 'SouthAmerica/Chile', 'SouthAmerica/Paraguay', ]; +} + +=item cgp_emptytrash_values + +Returns an arrayref of possible EmptyTrash values. + +=cut +#http://www.communigate.com/cgatepro/WebMail.html#Trash + +sub cgp_emptytrash_values { + #my $self = shift; #i'm used as a class and object method but just return data + + [ '', #<option value="-1">default(92 days) + '0 seconds', + '60 minutes', + '2 hours', + '3 hours', + '6 hours', + '12 hours', + '24 hours', + '2 days', + '3 days', + '7 days', + '10 days', + '2 weeks', + '3 weeks', + '30 days', + '60 days', + '90 days', + '180 days', + '360 days', + ]; } =back |