cron: Don't examine deleted versions in orphan cleanup
This commit is contained in:
@@ -167,7 +167,7 @@ function orphanVersionCheck()
|
|||||||
{
|
{
|
||||||
global $sEmailSubject;
|
global $sEmailSubject;
|
||||||
|
|
||||||
$sQuery = "select versionId, versionName from appVersion where appId = 0";
|
$sQuery = "select versionId, versionName from appVersion where appId = 0 and state != 'deleted'";
|
||||||
$hResult = query_appdb($sQuery);
|
$hResult = query_appdb($sQuery);
|
||||||
$found_orphans = false;
|
$found_orphans = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user