Commit 7f8018502efbdfb5181439807b11dd539c8463fc

Authored by Michael Joseph
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
lib/subscriptions/SubscriptionEngine.inc
... ... @@ -122,6 +122,7 @@ class SubscriptionEngine {
122 122  
123 123 $sql = $default->db;
124 124 $aUsers = array();
  125 + $default->log->debug("retrieveSubscribers(id=$iExternalID, type=$iSubscriptionType); table=" .Subscription::getTableName($iSubscriptionType). "; id=" .Subscription::getIdFieldName($iSubscriptionType));
125 126 if ($sql->query("SELECT user_id FROM " . Subscription::getTableName($iSubscriptionType) . " " .
126 127 "WHERE " . Subscription::getIdFieldName($iSubscriptionType) . " = $iExternalID")) {
127 128 while ($sql->next_record()) {
... ...