1
0
mirror of https://github.com/flarum/core.git synced 2025-07-27 19:50:20 +02:00

Remove deprecated bootstrap.php fallback

Closes #1557.
This commit is contained in:
Franz Liedke
2019-07-06 02:11:09 +02:00
parent de67927ef2
commit f8061bbca1

View File

@@ -292,15 +292,6 @@ class Extension implements Arrayable
if (file_exists($filename)) {
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;
}
}
/**