1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Remove deprecated bootstrap.php support

See https://github.com/flarum/core/issues/1557
This commit is contained in:
Alexander Skvortsov
2021-01-19 19:16:09 -05:00
parent 1ae7dbe464
commit 375a33145f

View File

@@ -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;
}