mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 12:43:52 +08:00
Remove references to deleted property
This commit is contained in:
parent
7917ce130e
commit
c67f673819
|
@ -78,8 +78,6 @@ class Migrator
|
||||||
*/
|
*/
|
||||||
public function run($path, Extension $extension = null)
|
public function run($path, Extension $extension = null)
|
||||||
{
|
{
|
||||||
$this->notes = [];
|
|
||||||
|
|
||||||
$files = $this->getMigrationFiles($path);
|
$files = $this->getMigrationFiles($path);
|
||||||
|
|
||||||
$ran = $this->repository->getRan($extension ? $extension->getId() : null);
|
$ran = $this->repository->getRan($extension ? $extension->getId() : null);
|
||||||
|
@ -148,8 +146,6 @@ class Migrator
|
||||||
*/
|
*/
|
||||||
public function reset($path, Extension $extension = null)
|
public function reset($path, Extension $extension = null)
|
||||||
{
|
{
|
||||||
$this->notes = [];
|
|
||||||
|
|
||||||
$migrations = array_reverse($this->repository->getRan($extension->getId()));
|
$migrations = array_reverse($this->repository->getRan($extension->getId()));
|
||||||
|
|
||||||
$count = count($migrations);
|
$count = count($migrations);
|
||||||
|
@ -168,7 +164,7 @@ class Migrator
|
||||||
/**
|
/**
|
||||||
* Run "down" a migration instance.
|
* Run "down" a migration instance.
|
||||||
*
|
*
|
||||||
* @param $path
|
* @param string $path
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param Extension $extension
|
* @param Extension $extension
|
||||||
|
|
Loading…
Reference in New Issue
Block a user