- removed table "constellation_wormhole" (no longer needed), #628

- removed table "system_wormhole" (no longer needed), #628
- removed table "wormhole" (no longer needed), #628
This commit is contained in:
Mark Friedrich
2018-06-30 13:39:47 +02:00
parent e7184b7312
commit 3a0891b70e
6 changed files with 1 additions and 274 deletions

View File

@@ -159,21 +159,6 @@ abstract class BasicUniverseModel extends BasicModel {
}
}
/**
* load data by foreign key or other column than "id"
* @param string $key
* @param $value
*/
public function loadByKey(string $key, $value){
/**
* @var $model self
*/
$model = $this->getByForeignKey($key, $value, ['limit' => 1]);
if($model->isOutdated()){
$model->loadDataByKey($key, $value);
}
}
/**
* load data from API into $this and save $this
* @param int $id
@@ -182,8 +167,6 @@ abstract class BasicUniverseModel extends BasicModel {
*/
abstract protected function loadData(int $id, string $accessToken = '', array $additionalOptions = []);
protected function loadDataByKey(string $key, $value){}
/**
* generate hashKey for a table row data for search index build
* @param string $table