mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-02 09:47:00 +03:00
Feature #3471: code cleanup
This commit is contained in:
parent
15dddade11
commit
a6ae4cc24c
@ -352,8 +352,6 @@ public:
|
||||
};
|
||||
|
||||
~VdcDelete(){};
|
||||
|
||||
int drop(int oid, PoolObjectSQL * object, string& error_msg);
|
||||
};
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -401,15 +401,3 @@ int SecurityGroupDelete::drop(int oid, PoolObjectSQL * object, string& error_msg
|
||||
|
||||
return RequestManagerDelete::drop(oid, object, error_msg);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
int VdcDelete::drop(int oid, PoolObjectSQL * object, string& error_msg)
|
||||
{
|
||||
int rc = RequestManagerDelete::drop(oid, object, error_msg);
|
||||
|
||||
// TODO: extra operations to clean up, or error checking to restrict
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
@ -84,10 +84,6 @@ int Vdc::insert(SqlDB *db, string& error_str)
|
||||
rc = insert_replace(db, false, error_str);
|
||||
|
||||
return rc;
|
||||
|
||||
error_common:
|
||||
NebulaLog::log("VDC", Log::ERROR, error_str);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
Loading…
x
Reference in New Issue
Block a user