mirror of
https://github.com/flarum/core.git
synced 2025-07-15 22:06:24 +02:00
Remove deprecated bootstrap.php support
See https://github.com/flarum/core/issues/1557
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user