mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Remove deprecated bootstrap.php support
See https://github.com/flarum/core/issues/1557
This commit is contained in:
parent
1ae7dbe464
commit
375a33145f
|
@ -334,15 +334,6 @@ class Extension implements Arrayable
|
|||
return $filename;
|
||||
}
|
||||
|
||||
// To give extension authors some time to migrate to the new extension
|
||||
// format, we will also fallback to the old bootstrap.php name. Consider
|
||||
// this feature deprecated.
|
||||
$deprecatedFilename = "{$this->path}/bootstrap.php";
|
||||
|
||||
if (file_exists($deprecatedFilename)) {
|
||||
return $deprecatedFilename;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user