1
0
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:
Carlos Martín 2015-01-27 10:59:39 +01:00
parent 15dddade11
commit a6ae4cc24c
3 changed files with 0 additions and 18 deletions

View File

@ -352,8 +352,6 @@ public:
};
~VdcDelete(){};
int drop(int oid, PoolObjectSQL * object, string& error_msg);
};
/* -------------------------------------------------------------------------- */

View File

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

View File

@ -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;
}
/* -------------------------------------------------------------------------- */