Send notification emails to admins when the cleanup cron job executes so there is some visibility into the maintenance tasks running on the appdb. Fix a minor bug in the user class where passing in (null,null) for iVendorId and iAppId results in a null query string being sent to mysql and triggering an error
This commit is contained in:
@@ -698,17 +698,19 @@ function get_notify_email_address_list($iAppId = null, $iVersionId = null)
|
||||
FROM appMaintainers
|
||||
WHERE appId = '".$iAppId."'";
|
||||
}
|
||||
$hResult = query_appdb($sQuery);
|
||||
if(mysql_num_rows($hResult) > 0)
|
||||
if($sQuery)
|
||||
{
|
||||
while($oRow = mysql_fetch_object($hResult))
|
||||
$hResult = query_appdb($sQuery);
|
||||
if(mysql_num_rows($hResult) > 0)
|
||||
{
|
||||
$aUserId[$c] = array($oRow->userId);
|
||||
$c++;
|
||||
while($oRow = mysql_fetch_object($hResult))
|
||||
{
|
||||
$aUserId[$c] = array($oRow->userId);
|
||||
$c++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Retrieve administrators.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user