Deletion from “InstBlocks” table returned wrong message saying the deletion was applied to “Instances” table, now it correctly says it is applied to “InstBlocks” table
This commit is contained in:
parent
c1f0e8779e
commit
008864ede1
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ function delinstbyid(&$link,&$id,$efunc,$eol) {
|
|||
if (!query($link,'DELETE FROM InstActivity WHERE InstID='.$id,'eecho',$eol)) return(false);
|
||||
$efunc('Deleted '.mysqli_affected_rows($link).' records from InstActivity table.'.$eol);
|
||||
if (!query($link,'DELETE FROM InstBlocks WHERE InstID='.$id,'eecho',$eol)) return(false);
|
||||
$efunc('Deleted '.mysqli_affected_rows($link).' records from Instances table.'.$eol);
|
||||
$efunc('Deleted '.mysqli_affected_rows($link).' records from InstBlocks table.'.$eol);
|
||||
if (!query($link,'DELETE FROM InstChecks WHERE InstID='.$id,'eecho',$eol)) return(false);
|
||||
$efunc('Deleted '.mysqli_affected_rows($link).' records from InstChecks table.'.$eol);
|
||||
if (!query($link,'DELETE FROM InstFinancing WHERE InstID='.$id,'eecho',$eol)) return(false);
|
||||
|
|
Loading…
Reference in a new issue