X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter%2Fbooking_filter.php;h=73aad6d671cfc5a50aa0a38bfa6709f80ee77fea;hb=6c18a7bf8866b5ebdcb219891efaad99989a2cd5;hp=a5af21e25e996ff5708104d15c07327d9ba6598d;hpb=ee3a0b42f93de7676fca549c866c1c2e6f3f0576;p=mailer.git diff --git a/inc/filter/booking_filter.php b/inc/filter/booking_filter.php index a5af21e25e..73aad6d671 100644 --- a/inc/filter/booking_filter.php +++ b/inc/filter/booking_filter.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -42,8 +42,8 @@ if (!defined('__SECURITY')) { // Filter for adding booking record function FILTER_ADD_BOOKING_RECORD ($filterData) { - // Add a record //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); + // Add a record addBookingRecord($filterData['subject'], $filterData['userid'], $filterData['points'], $filterData['points_mode']); // Return data @@ -51,5 +51,16 @@ function FILTER_ADD_BOOKING_RECORD ($filterData) { return $filterData; } +// Filter for adding member action +function FILTER_ADD_BOOKING_MEMBER_ACTION ($filterData) { + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); + // Add entry + array_push($filterData, 'list_booking'); + + // Return data + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); + return $filterData; +} + // [EOF] ?>