Add initial un-delete support
This commit is contained in:
committed by
Chris Morgan
parent
5a31b9d5c8
commit
8c7bd3a5e9
@@ -40,9 +40,9 @@ function delete_version_and_parent_app($iVersionId)
|
||||
|
||||
$oVersion = new version($iVersionId);
|
||||
$oApp = new application($oVersion->iAppId);
|
||||
if(!$oApp->delete())
|
||||
if(!$oApp->purge())
|
||||
{
|
||||
echo __FUNCTION__."() oApp->delete() failed, returned false!\n";
|
||||
echo __FUNCTION__."() oApp->purge() failed, returned false!\n";
|
||||
}
|
||||
|
||||
// remove the admin privleges only if the user didn't
|
||||
|
||||
Reference in New Issue
Block a user