Commit 744143ef authored by Leigh Stoller's avatar Leigh Stoller

Delete entry in node_reservations whem removing a project.

parent 5ccc258a
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# Copyright (c) 2000-2011 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -232,6 +232,7 @@ $EUID = 0;
#
# Then the project table itself, plus a few other bits and pieces
#
DBQueryFatal("delete FROM node_reservations where pid='$pid'");
DBQueryFatal("delete FROM images where pid='$pid'");
DBQueryFatal("delete FROM os_info where pid='$pid'");
DBQueryFatal("delete FROM nodetypeXpid_permissions where pid='$pid'");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment