location.class.php (fogproject-1.5.5) | : | location.class.php (fogproject-1.5.6) | ||
---|---|---|---|---|
skipping to change at line 73 | skipping to change at line 73 | |||
'hostsnotinme', | 'hostsnotinme', | |||
'storagenode', | 'storagenode', | |||
'storagegroup' | 'storagegroup' | |||
); | ); | |||
/** | /** | |||
* Database -> Class field relationships | * Database -> Class field relationships | |||
* | * | |||
* @var array | * @var array | |||
*/ | */ | |||
protected $databaseFieldClassRelationships = array( | protected $databaseFieldClassRelationships = array( | |||
'StorageNode' => array( | ||||
'id', | ||||
'storagenodeID', | ||||
'storagenode' | ||||
), | ||||
'StorageGroup' => array( | 'StorageGroup' => array( | |||
'id', | 'id', | |||
'storagegroupID', | 'storagegroupID', | |||
'storagegroup' | 'storagegroup' | |||
), | ||||
'StorageNode' => array( | ||||
'id', | ||||
'storagenodeID', | ||||
'storagenode' | ||||
) | ) | |||
); | ); | |||
/** | /** | |||
* Destroy this particular object. | * Destroy this particular object. | |||
* | * | |||
* @param string $key the key to destroy for match | * @param string $key the key to destroy for match | |||
* | * | |||
* @return bool | * @return bool | |||
*/ | */ | |||
public function destroy($key = 'id') | public function destroy($key = 'id') | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added |