X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FCondition.pm;h=3c0904c6c58f033a0a8aa5e2f41b36c9964bd1e1;hp=0b9d579121be46f9394222d97e71b56ddcbf5fb5;hb=7349e2c4d087cee96f677dc05e316885386428a7;hpb=15802280e2c56575afc85efd476a0d1aeea9e0a4 diff --git a/FS/FS/part_event/Condition.pm b/FS/FS/part_event/Condition.pm index 0b9d57912..3c0904c6c 100644 --- a/FS/FS/part_event/Condition.pm +++ b/FS/FS/part_event/Condition.pm @@ -152,6 +152,17 @@ sub condition_sql { 'true'; } +=item disabled + +Condition classes may optionally define a disabled method. Returning a true +value disbles the condition entirely. + +=cut + +sub disabled { + 0; +} + =item implicit_flag This is used internally by the I and I conditions. You probably