Add initial un-delete support

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-12 22:43:22 +01:00
committed by Chris Morgan
parent 5a31b9d5c8
commit 8c7bd3a5e9
28 changed files with 345 additions and 96 deletions

View File

@@ -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