Commit 7f8018502efbdfb5181439807b11dd539c8463fc
1 parent
ad98396a
added debug logging
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@999 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
lib/subscriptions/SubscriptionEngine.inc
| @@ -122,6 +122,7 @@ class SubscriptionEngine { | @@ -122,6 +122,7 @@ class SubscriptionEngine { | ||
| 122 | 122 | ||
| 123 | $sql = $default->db; | 123 | $sql = $default->db; |
| 124 | $aUsers = array(); | 124 | $aUsers = array(); |
| 125 | + $default->log->debug("retrieveSubscribers(id=$iExternalID, type=$iSubscriptionType); table=" .Subscription::getTableName($iSubscriptionType). "; id=" .Subscription::getIdFieldName($iSubscriptionType)); | ||
| 125 | if ($sql->query("SELECT user_id FROM " . Subscription::getTableName($iSubscriptionType) . " " . | 126 | if ($sql->query("SELECT user_id FROM " . Subscription::getTableName($iSubscriptionType) . " " . |
| 126 | "WHERE " . Subscription::getIdFieldName($iSubscriptionType) . " = $iExternalID")) { | 127 | "WHERE " . Subscription::getIdFieldName($iSubscriptionType) . " = $iExternalID")) { |
| 127 | while ($sql->next_record()) { | 128 | while ($sql->next_record()) { |