comment out unused db statements in a way that doesn't get to the database, to avoid...
authorivan <ivan>
Sun, 10 Feb 2008 23:58:51 +0000 (23:58 +0000)
committerivan <ivan>
Sun, 10 Feb 2008 23:58:51 +0000 (23:58 +0000)
FS/FS/Cron/notify.pm

index 622f15f..c2f9763 100644 (file)
@@ -42,11 +42,15 @@ sub notify_flat_delay {
                                 or  cust_pkg.expire > $time
                                   + cast(part_pkg_option.optionvalue as integer)
                                     * 86400
-/*                            and ( cust_pkg.adjourn is null
-                                or  cust_pkg.adjourn > $time
--- Should notify suspended ones   + cast(part_pkg_option.optionvalue as integer)
-                                    * 86400
-*/
+END
+
+#/*                            and ( cust_pkg.adjourn is null
+#                                or  cust_pkg.adjourn > $time
+#-- Should notify suspended ones  + cast(part_pkg_option.optionvalue as integer)
+#                                    * 86400
+#*/
+
+  $where_pkg .= <<"END";
                                   )
                         )
           )